Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dsms-storage.spec'], chrootPath='/var/lib/mock/dist-an23-build-276323-64354/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target x86_64 --nodeps /builddir/build/SPECS/dsms-storage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 50: %{version}.tar.gz Building target platforms: x86_64 Building for target x86_64 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 x86_64 --nodeps /builddir/build/SPECS/dsms-storage.spec'], chrootPath='/var/lib/mock/dist-an23-build-276323-64354/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=990gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target x86_64 --nodeps /builddir/build/SPECS/dsms-storage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 50: %{version}.tar.gz Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1686700800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yrtj6l + 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.w9Pvmg + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dsms-storage + export CPPFLAGS= + CPPFLAGS= + export 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export 'CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export LDFLAGS= + LDFLAGS= + CEPH_MFLAGS_JOBS=-j80 ++ echo -j80 ++ sed s/-j// + CEPH_SMP_NCPUS=80 Available memory: + echo 'Available memory:' + free -h total used free shared buff/cache available Mem: 187Gi 4.8Gi 6.7Gi 2.0Mi 175Gi 181Gi Swap: 0B 0B 0B System limits: + echo 'System limits:' + ulimit -a real-time non-blocking time (microseconds, -R) unlimited core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 767084 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 767084 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited + test -n 80 -a 80 -gt 1 + mem_per_process=2500 ++ LANG=C ++ free -m ++ sed -n 's|^Mem: *\([0-9]*\).*$|\1|p' + max_mem=191806 Warning: Reducing build parallelism to -j76 because of memory limits + max_jobs=76 + test 80 -gt 76 + CEPH_SMP_NCPUS=76 + echo 'Warning: Reducing build parallelism to -j76 because of memory limits' + test 76 -le 0 + export CEPH_SMP_NCPUS + export CEPH_MFLAGS_JOBS=-j76 + CEPH_MFLAGS_JOBS=-j76 + env + sort eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@" BASH_FUNC_which%%=() { ( alias; CC=gcc CEPH_MFLAGS_JOBS=-j76 CEPH_SMP_NCPUS=76 CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection CPPFLAGS= CXX=g++ CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection FCFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules FFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules HISTCONTROL=ignoredups HISTSIZE=1000 HOME=/builddir HOSTNAME=iZ2ze8vdmdyl66lfybi1hzZ LANG=C LDFLAGS= LOGNAME=mockbuild LT_SYS_LIBRARY_PATH=/usr/lib64: MAIL=/var/spool/mail/mockbuild OLDPWD=/builddir/build/BUILD PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig PROMPT_COMMAND=printf "\033]0;\007" PWD=/builddir/build/BUILD/dsms-storage RPM_ARCH=x86_64 RPM_BUILD_DIR=/builddir/build/BUILD RPM_BUILD_NCPUS=80 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64 RPM_DOC_DIR=/usr/share/doc RPM_OPT_FLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection RPM_OS=linux RPM_PACKAGE_NAME=dsms-storage RPM_PACKAGE_RELEASE=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=76 -DWITH_GRAFANA=ON -- The CXX compiler identification is GNU 12.2.1 -- The C compiler identification is GNU 12.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for fallocate -- Looking for fallocate - found -- Looking for posix_fadvise -- Looking for posix_fadvise - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for syncfs -- Looking for syncfs - found -- Looking for sync_file_range -- Looking for sync_file_range - found -- Looking for pwritev -- Looking for pwritev - found -- Looking for splice -- Looking for splice - found -- Looking for getgrouplist -- Looking for getgrouplist - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for name_to_handle_at -- Looking for name_to_handle_at - found -- Looking for pipe2 -- Looking for pipe2 - found -- Looking for accept4 -- Looking for accept4 - found -- Looking for sigdescr_np -- Looking for sigdescr_np - found -- Looking for pthread_spin_init -- Looking for pthread_spin_init - found -- Looking for pthread_set_name_np -- Looking for pthread_set_name_np - not found -- Looking for pthread_get_name_np -- Looking for pthread_get_name_np - not found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_rwlockattr_setkind_np -- Looking for pthread_rwlockattr_setkind_np - found -- Looking for eventfd -- Looking for eventfd - found -- Looking for getprogname -- Looking for getprogname - not found -- Looking for gettid -- Looking for gettid - found -- Looking for include file linux/types.h -- Looking for include file linux/types.h - found -- Looking for include file linux/version.h -- Looking for include file linux/version.h - found -- Looking for include file arpa/nameser_compat.h -- Looking for include file arpa/nameser_compat.h - found -- Looking for include file sys/mount.h -- Looking for include file sys/mount.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file sys/vfs.h -- Looking for include file sys/vfs.h - found -- Looking for include file sys/prctl.h -- Looking for include file sys/prctl.h - found -- Looking for include file execinfo.h -- Looking for include file execinfo.h - found -- Looking for include file sched.h -- Looking for include file sched.h - found -- Looking for include file valgrind/helgrind.h -- Looking for include file valgrind/helgrind.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of __u8 -- Check size of __u8 - done -- Check size of __u16 -- Check size of __u16 - done -- Check size of __u32 -- Check size of __u32 - done -- Check size of __u64 -- Check size of __u64 - done -- Check size of __s8 -- Check size of __s8 - done -- Check size of __s16 -- Check size of __s16 - done -- Check size of __s32 -- Check size of __s32 - done -- Check size of __s64 -- Check size of __s64 - done -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Looking for res_nquery -- Looking for res_nquery - found -- Looking for F_SETPIPE_SZ -- Looking for F_SETPIPE_SZ - found -- Looking for __func__ -- Looking for __func__ - found -- Looking for __PRETTY_FUNCTION__ -- Looking for __PRETTY_FUNCTION__ - found -- Looking for getentropy -- Looking for getentropy - found -- Performing Test STRERROR_R_CHAR_P -- Performing Test STRERROR_R_CHAR_P - Success -- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC - Success -- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Performing Test HAVE_UNALIGNED_ACCESS -- Performing Test HAVE_UNALIGNED_ACCESS - Success -- Performing Test HAVE_CXX11_ATOMIC -- Performing Test HAVE_CXX11_ATOMIC - Success -- Found verbs: /usr/lib64/libibverbs.so -- Performing Test HAVE_IBV_EXP -- Performing Test HAVE_IBV_EXP - Failed -- Found rdmacm: /usr/lib64/librdmacm.so -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Found udev: /usr/lib64/libudev.so -- Found blkid: /usr/lib64/libblkid.so -- Found keyutils: /usr/lib64/libkeyutils.so -- Found OpenLdap: /usr/include -- Found FUSE: /usr/lib64/libfuse3.so (found version "3.14") -- Found xfs: /usr/lib64/libhandle.so -- Found aio: /lib64/libaio.so CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDependentOption.cmake:89 (message): Policy CMP0127 is not set: cmake_dependent_option() supports full Condition Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:208 (CMAKE_DEPENDENT_OPTION) This warning is for project developers. Use -Wno-dev to suppress it. -- Found leveldb: /lib64/libleveldb.so -- Found snappy: /usr/lib64/libsnappy.so -- Found LZ4: /usr/lib64/liblz4.so (found suitable version "1.9.4", minimum required is "1.7") -- Found gperftools: /usr/include (found version "2.10") -- Found CURL: /usr/lib64/libcurl.so (found version "8.1.1") -- Looking for curl_multi_wait -- Looking for curl_multi_wait - found -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.9") -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.5.0") CMake Warning at CMakeLists.txt:366 (message): disabling WITH_RADOSGW_BEAST_FRONTEND, which depends on WITH_BOOST_CONTEXT -- Found OATH: /usr/lib64/liboath.so '--build=x86_64-Anolis-linux' '--host=x86_64-Anolis-linux' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--disable-static' '--enable-hsts' '--enable-ipv6' '--enable-symbol-hiding' '--enable-threaded-resolver' '--without-zstd' '--with-gssapi' '--with-nghttp2' '--with-ssl' '--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt' '--enable-dict' '--enable-gopher' '--enable-imap' '--enable-ldap' '--enable-ldaps' '--enable-manual' '--enable-mqtt' '--enable-ntlm' '--enable-ntlm-wb' '--enable-pop3' '--enable-rtsp' '--enable-smb' '--enable-smtp' '--enable-telnet' '--enable-tftp' '--enable-tls-srp' '--with-brotli' '--with-libidn2' '--with-libpsl' '--with-libssh' 'build_alias=x86_64-Anolis-linux' 'host_alias=x86_64-Anolis-linux' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' 'LT_SYS_LIBRARY_PATH=/usr/lib64:' -- libcurl is linked with openssl: explicitly setting locks -- ssl soname: libssl.so.3 -- crypto soname: libcrypto.so.3 -- Found Python3: /usr/bin/python3.10 (found suitable exact version "3.10.12") found components: Interpreter Development -- mgr module disabled for 3.10.12: diskprediction_local -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found LTTngUST: /usr/lib64/liblttng-ust.so;dl (found version "2.3.5") -- Found babeltrace: /usr/include CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:2026 (message): No header defined for python310; skipping header check (note: header-only libraries have no designated component) Call Stack (most recent call first): CMakeLists.txt:590 (find_package) -- Found Boost: /usr/include (found suitable version "1.81.0", minimum required is "1.67") found components: atomic chrono thread system regex random program_options date_time iostreams python310 -- Found StdFilesystem: stdc++fs -- Performing Test COMPILER_SUPPORTS_PESSIMIZING_MOVE -- Performing Test COMPILER_SUPPORTS_PESSIMIZING_MOVE - Success -- Performing Test COMPILER_SUPPORTS_REDUNDANT_MOVE -- Performing Test COMPILER_SUPPORTS_REDUNDANT_MOVE - Success -- Performing Test HAS_FORTIFY_SOURCE -- Performing Test HAS_FORTIFY_SOURCE - Success -- Performing Test HAS_STACK_PROTECT -- Performing Test HAS_STACK_PROTECT - Success -- Performing Test HAS_GLIBCXX_ASSERTIONS -- Performing Test HAS_GLIBCXX_ASSERTIONS - Success -- Performing Test HAVE_INTEL_SSE -- Performing Test HAVE_INTEL_SSE - Success -- Performing Test HAVE_INTEL_SSE2 -- Performing Test HAVE_INTEL_SSE2 - Success -- Performing Test HAVE_INTEL_SSE3 -- Performing Test HAVE_INTEL_SSE3 - Success -- Performing Test HAVE_INTEL_SSSE3 -- Performing Test HAVE_INTEL_SSSE3 - Success -- Performing Test HAVE_INTEL_PCLMUL -- Performing Test HAVE_INTEL_PCLMUL - Success -- Performing Test HAVE_INTEL_SSE4_1 -- Performing Test HAVE_INTEL_SSE4_1 - Success -- Performing Test HAVE_INTEL_SSE4_2 -- Performing Test HAVE_INTEL_SSE4_2 - Success -- Found Yasm: good -- capable of assembling x86_64 -- Performing Test HAVE_STDLIB_MAP_SPLICING -- Performing Test HAVE_STDLIB_MAP_SPLICING - Success -- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR -- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR - Success -- Could not find fmt, will build it -- Version: 5.3.1 -- Build type: RelWithDebInfo -- CXX_STANDARD: 17 -- Performing Test has_std_17_flag -- Performing Test has_std_17_flag - Success -- Performing Test has_std_1z_flag -- Performing Test has_std_1z_flag - Success -- Performing Test SUPPORTS_VARIADIC_TEMPLATES -- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success -- Performing Test SUPPORTS_INITIALIZER_LIST -- Performing Test SUPPORTS_INITIALIZER_LIST - Success -- Performing Test SUPPORTS_ENUM_BASE -- Performing Test SUPPORTS_ENUM_BASE - Success -- Performing Test SUPPORTS_TYPE_TRAITS -- Performing Test SUPPORTS_TYPE_TRAITS - Success -- Performing Test SUPPORTS_USER_DEFINED_LITERALS -- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success -- Looking for open -- Looking for open - found -- Performing Test HAS_VTA -- Performing Test HAS_VTA - Success CMake Deprecation Warning at src/lua/CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found Cython: 0.29 -- Performing Test HAS_WARNING_STRINGOP_TRUNCATION -- Performing Test HAS_WARNING_STRINGOP_TRUNCATION - Success -- Performing Test HAS_WARNING_DEPRECATED_COPY -- Performing Test HAS_WARNING_DEPRECATED_COPY - Success -- Performing Test HAS_WARNING_PESSIMIZING_MOVE -- Performing Test HAS_WARNING_PESSIMIZING_MOVE - Success 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.7s) 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 (1.1s) 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 -j76 [ 0%] Building CXX object src/common/CMakeFiles/common_buffer_obj.dir/buffer.cc.o [ 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/auth/CMakeFiles/common-auth-objs.dir/AuthClientHandler.cc.o [ 0%] Building CXX object src/fmt/CMakeFiles/fmt.dir/src/posix.cc.o [ 0%] Building CXX object src/fmt/CMakeFiles/fmt.dir/src/format.cc.o [ 0%] Building CXX object src/erasure-code/CMakeFiles/erasure_code.dir/ErasureCodePlugin.cc.o [ 0%] Building CXX object src/common/CMakeFiles/common_texttable_obj.dir/TextTable.cc.o [ 0%] Building CXX object src/arch/CMakeFiles/arch.dir/probe.cc.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthMethodList.cc.o [ 0%] Building C object src/common/CMakeFiles/common_utf8.dir/utf8.c.o [ 0%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/pg.h [ 0%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Filer.cc.o [ 0%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/armor.c.o [ 0%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/oprequest.h [ 0%] Building C object src/arch/CMakeFiles/arch.dir/intel.c.o [ 0%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/osd.h [ 0%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/module.c.o [ 0%] Building CXX object src/osdc/CMakeFiles/osdc.dir/ObjectCacher.cc.o [ 0%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Striper.cc.o [ 0%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Objecter.cc.o [ 0%] Building C object src/crush/CMakeFiles/crush_objs.dir/builder.c.o [ 0%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/objectstore.h [ 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 [ 1%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/addr_parsing.c.o [ 1%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/librados.h [ 1%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o [ 1%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/DispatchQueue.cc.o [ 1%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/librados.h [ 1%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthRegistry.cc.o [ 1%] Building C object src/crush/CMakeFiles/crush_objs.dir/crush.c.o [ 1%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Messenger.cc.o [ 1%] Building C object src/crush/CMakeFiles/crush_objs.dir/mapper.c.o [ 1%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o [ 1%] Building CXX object src/erasure-code/CMakeFiles/erasure_code_objs.dir/ErasureCode.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/erasure-code/shec/CMakeFiles/shec_utils.dir/__/ErasureCode.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/common/CMakeFiles/common-common-objs.dir/AsyncOpTracker.cc.o [ 1%] Building CXX object src/common/CMakeFiles/common_prioritycache_obj.dir/PriorityCache.cc.o [ 1%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/global_init.cc.o [ 1%] Building CXX object src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_accel.cc.o [ 1%] Building CXX object src/mgr/CMakeFiles/mgr_cap_obj.dir/MgrCap.cc.o [ 1%] Building CXX object src/compressor/lz4/CMakeFiles/ceph_lz4.dir/CompressionPluginLZ4.cc.o [ 1%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/objectstore.h [ 1%] Building CXX object src/perfglue/CMakeFiles/heap_profiler.dir/heap_profiler.cc.o [ 1%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/bluestore.h [ 1%] Building CXX object src/compressor/snappy/CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o [ 1%] Creating directories for 'zstd_ext' [ 1%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/osd.h [ 1%] Building CXX object src/perfglue/CMakeFiles/cpu_profiler.dir/disabled_stubs.cc.o [ 1%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/pg.h [ 2%] Building CXX object src/dmclock/src/CMakeFiles/dmclock.dir/dmclock_util.cc.o [ 2%] Building CXX object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isal_crypto_accel.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_numops.dir/numops/cls_numops.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_otp.dir/otp/cls_otp.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_lock.dir/lock/cls_lock.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_user.dir/user/cls_user.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_timeindex.dir/timeindex/cls_timeindex.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_hello.dir/hello/cls_hello.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_version.dir/version/cls_version.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_rgw_gc.dir/rgw_gc/cls_rgw_gc.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_cephfs.dir/cephfs/cls_cephfs.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue.cc.o [ 2%] Building C object src/CMakeFiles/civetweb_common_objs.dir/civetweb/src/civetweb.c.o [ 2%] Building C object src/common/CMakeFiles/parse_secret_objs.dir/secret.c.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_cas.dir/cas/cls_cas.cc.o [ 2%] Building CXX object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/CompressionPluginZlib.cc.o [ 2%] Building C object src/lua/CMakeFiles/liblua.dir/src/lapi.c.o [ 2%] Building CXX object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/ZlibCompressor.cc.o [ 2%] No download step for 'rocksdb_ext' [ 2%] No download step for 'zstd_ext' [ 2%] Built target oprequest-tp [ 2%] Building CXX object src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd_types.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal_types.cc.o [ 2%] Linking CXX static library ../../lib/libarch.a /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); | ^~~~~~~~~~~~ [ 2%] Built target pg-tp [ 2%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue_src.cc.o [ 2%] Built target objectstore-tp [ 2%] Built target bluestore-tp [ 2%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_wgen.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, | ^~~~~~~~~~~~ [ 2%] No update step for 'rocksdb_ext' [ 2%] Building C object src/tracing/CMakeFiles/os_tp.dir/objectstore.c.o [ 2%] Built target osd-tp [ 3%] No update step for 'zstd_ext' [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf.c.o [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w16.c.o [ 3%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w32.c.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/__/common/ceph_json.cc.o [ 3%] Building C object src/tracing/CMakeFiles/osd_tp.dir/oprequest.c.o [ 3%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip.c.o [ 3%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/hufftables_c.c.o [ 3%] Built target arch [ 3%] Built target parse_secret_objs [ 3%] Building C object src/tracing/CMakeFiles/osd_tp.dir/pg.c.o [ 3%] Linking C static library ../../lib/libcommon_utf8.a [ 3%] No patch step for 'rocksdb_ext' [ 3%] No patch step for 'zstd_ext' [ 3%] Building C object src/crush/CMakeFiles/crush_objs.dir/hash.c.o [ 3%] Building C object src/tracing/CMakeFiles/rados_tp.dir/librados.c.o [ 4%] Building C object src/tracing/CMakeFiles/osd_tp.dir/osd.c.o [ 4%] Built target librados-tp [ 4%] Building C object src/tracing/CMakeFiles/bluestore_tp.dir/bluestore.c.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/queue/cls_queue_src.cc.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_types.cc.o [ 4%] Performing configure step for 'zstd_ext' [ 4%] Performing configure step for 'rocksdb_ext' [ 4%] Built target common_mountcephfs_objs [ 4%] Built target common_utf8 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. [ 4%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/galois.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" | ^~~~~~~~~ [ 4%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/jerasure.c.o Compiling targeted ceph module [ 4%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/liberation.c.o -- The C compiler identification is GNU 12.2.1 -- The C compiler identification is GNU 12.2.1 [ 4%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/reed_sol.c.o [ 4%] Building C object src/lua/CMakeFiles/liblua.dir/src/lcode.c.o [ 4%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w64.c.o [ 4%] 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 [ 4%] Built target ceph.pp -- The CXX compiler identification is GNU 12.2.1 -- The CXX compiler identification is GNU 12.2.1 [ 4%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushWrapper.cc.o [ 4%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/rgw_op.h -- Detecting C compiler ABI info -- Detecting C compiler ABI info [ 4%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure_init.cc.o [ 4%] Building C object src/tracing/CMakeFiles/rgw_op_tp.dir/rgw_op.c.o -- Detecting C compiler ABI info - done [ 4%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_general.c.o -- Detecting C compiler ABI info - done [ 4%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w4.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 -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done [ 4%] Linking C shared library ../../lib/libbluestore_tp.so -- Detecting CXX compiler ABI info [ 4%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_rand.c.o [ 4%] Built target bluestore_tp [ 4%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w8.c.o [ 4%] Building CXX object src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_plugin.cc.o [ 4%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushCompiler.cc.o -- Detecting CXX compiler ABI info - done [ 4%] Linking C shared library ../../lib/librgw_op_tp.so [ 4%] Building C object src/lua/CMakeFiles/liblua.dir/src/lctype.c.o -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting CXX compiler ABI info - done -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Found snappy: /lib64/libsnappy.so -- 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 -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") [ 4%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/librbd.h -- Found lz4: /usr/lib64/liblz4.so -- Could NOT find Git (missing: GIT_EXECUTABLE) [ 4%] generating /builddir/build/BUILD/dsms-storage/build/include/tracing/rgw_rados.h -- Performing Test HAVE_OMIT_LEAF_FRAME_POINTER [ 4%] Built target rgw_op_tp [ 4%] Building CXX object src/cls/CMakeFiles/cls_sdk.dir/sdk/cls_sdk.cc.o [ 4%] Building C object src/tracing/CMakeFiles/rgw_rados_tp.dir/rgw_rados.c.o [ 4%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldebug.c.o [ 4%] Building CXX object src/dmclock/src/CMakeFiles/dmclock.dir/__/support/src/run_every.cc.o [ 4%] Building C object src/tracing/CMakeFiles/rbd_tp.dir/librbd.c.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_numops_client.dir/numops/cls_numops_client.cc.o -- Performing Test HAVE_OMIT_LEAF_FRAME_POINTER - Success -- Performing Test HAVE_SSE42 -- Performing Test CXX_FLAG_STD_CPLUSPLUS11 - Success -- Performing Test C_FLAG_STD_C99 [ 4%] Building CXX object src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o [ 4%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldo.c.o [ 4%] Built target common_texttable_obj [ 4%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_base.c.o -- Performing Test HAVE_SSE42 - Success -- Performing Test HAVE_THREAD_LOCAL [ 4%] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_client.cc.o [ 5%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_icf_base.c.o -- Performing Test C_FLAG_STD_C99 - Success -- Performing Test C_FLAG_WALL [ 5%] Linking C shared library ../../lib/librgw_rados_tp.so [ 5%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/__/common/ceph_json.cc.o 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; | ^~~~~ [ 5%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/adler32_base.c.o [ 5%] Built target rgw_rados_tp -- Performing Test HAVE_THREAD_LOCAL - Success -- Enabling RTTI -- Performing Test HAVE_FALLOCATE -- Performing Test C_FLAG_WALL - Success -- Performing Test CXX_FLAG_WALL [ 5%] Building CXX object src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_client.cc.o [ 5%] Building CXX object src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_types.cc.o [ 6%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldump.c.o [ 6%] Building C object src/lua/CMakeFiles/liblua.dir/src/lfunc.c.o [ 6%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/flatten_ll.c.o [ 6%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/encode_df.c.o -- Performing Test CXX_FLAG_WALL - Success -- Performing Test C_FLAG_WEXTRA -- Performing Test HAVE_FALLOCATE - Success -- Performing Test HAVE_SYNC_FILE_RANGE_WRITE [ 6%] Linking CXX static library ../../lib/liberasure_code.a [ 6%] Building C object src/lua/CMakeFiles/liblua.dir/src/lgc.c.o [ 6%] Building C object src/lua/CMakeFiles/liblua.dir/src/llex.c.o [ 6%] Built target gf-complete_objs [ 6%] Building C object src/lua/CMakeFiles/liblua.dir/src/lmem.c.o -- Performing Test C_FLAG_WEXTRA - Success -- Performing Test CXX_FLAG_WEXTRA [ 6%] Built target erasure_code [ 6%] Building CXX object src/cls/CMakeFiles/cls_log_client.dir/log/cls_log_client.cc.o [ 6%] Linking CXX static library ../../../lib/libdmclock.a [ 6%] Building C object src/lua/CMakeFiles/liblua.dir/src/lobject.c.o [ 6%] Linking CXX shared library ../../lib/libcls_sdk.so -- Performing Test HAVE_SYNC_FILE_RANGE_WRITE - Success -- Performing Test HAVE_PTHREAD_MUTEX_ADAPTIVE_NP [ 6%] Built target dmclock [ 6%] Building CXX object src/cls/CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_types.cc.o [ 6%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_icf_body.c.o -- Performing Test CXX_FLAG_WEXTRA - Success -- Performing Test C_FLAG_WUNDEF [ 6%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_inflate.c.o [ 6%] Built target cls_sdk [ 7%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_client.cc.o [ 7%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodePluginShec.cc.o [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lopcodes.c.o -- Performing Test C_FLAG_WUNDEF - Success -- Performing Test CXX_FLAG_WUNDEF [ 7%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShec.cc.o [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lparser.c.o [ 7%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/huff_codes.c.o -- Performing Test HAVE_PTHREAD_MUTEX_ADAPTIVE_NP - Success -- Looking for malloc_usable_size [ 7%] Linking C shared library ../../lib/libos_tp.so 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 | ^~~~~~~~ [ 7%] Built target os_tp -- Performing Test CXX_FLAG_WUNDEF - Success -- Performing Test C_FLAG_WSHADOW [ 7%] Building CXX object src/cls/CMakeFiles/cls_journal_client.dir/journal/cls_journal_client.cc.o -- Looking for malloc_usable_size - found -- Looking for sched_getcpu -- Performing Test C_FLAG_WSHADOW - Success -- Performing Test CXX_FLAG_WSHADOW [ 7%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_types.cc.o -- Performing Test CXX_FLAG_WSHADOW - Success -- Performing Test C_FLAG_WCAST_ALIGN -- Looking for sched_getcpu - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test C_FLAG_WCAST_ALIGN - Success -- Performing Test CXX_FLAG_WCAST_ALIGN -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- JNI library is disabled [ 7%] Linking C shared library ../../lib/libosd_tp.so [ 7%] Linking CXX static library ../../lib/libcls_numops_client.a -- Configuring done (2.8s) [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstate.c.o [ 7%] Built target cls_numops_client [ 7%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShecTableCache.cc.o [ 7%] Built target osd_tp [ 7%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthSessionHandler.cc.o -- Performing Test CXX_FLAG_WCAST_ALIGN - Success -- Performing Test C_FLAG_WCAST_QUAL [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstring.c.o -- Performing Test C_FLAG_WCAST_QUAL - Success -- Performing Test CXX_FLAG_WCAST_QUAL [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltable.c.o -- Generating done (0.3s) -- Build files have been written to: /builddir/build/BUILD/dsms-storage/build/src/rocksdb [ 7%] Performing build step for 'rocksdb_ext' -- Performing Test CXX_FLAG_WCAST_QUAL - Success -- Performing Test C_FLAG_WSTRICT_PROTOTYPES [ 0%] Building CXX object CMakeFiles/build_version.dir/build_version.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 [ 0%] Built target build_version [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltm.c.o [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/clock_cache.cc.o [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lundump.c.o -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring done (3.6s) [ 7%] Built target civetweb_common_objs -- Generating done (0.0s) -- Build files have been written to: /builddir/build/BUILD/dsms-storage/build/src/compressor/zstd/libzstd [ 7%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_client.cc.o [ 7%] Performing build step for 'zstd_ext' [ 7%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_types.cc.o In file included from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ [ 3%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/entropy_common.c.o [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lvm.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 | ^~~~~~~~ [ 6%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/fse_decompress.c.o [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/lru_cache.cc.o [ 10%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/threading.c.o [ 13%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/pool.c.o [ 17%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/zstd_common.c.o [ 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/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 [ 24%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/common/xxhash.c.o [ 27%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/hist.c.o [ 7%] Building CXX object src/cls/CMakeFiles/cls_rgw_client.dir/rgw/cls_rgw_ops.cc.o [ 31%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/fse_compress.c.o [ 7%] Linking CXX static library ../../lib/libcpu_profiler.a [ 7%] Built target cpu_profiler [ 34%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/huf_compress.c.o [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lzio.c.o [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lauxlib.c.o 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 | ^~~~~~~~ [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lbaselib.c.o 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 | ^~~~~~~~ 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/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 [ 37%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/zstd_compress.c.o [ 7%] Linking CXX shared library ../../lib/libcls_numops.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, 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 [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lbitlib.c.o [ 0%] Building CXX object CMakeFiles/rocksdb.dir/cache/sharded_cache.cc.o [ 7%] Building CXX object src/cls/CMakeFiles/cls_cephfs_client.dir/cephfs/cls_cephfs_client.cc.o [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/builder.cc.o [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lcorolib.c.o [ 7%] Linking CXX shared library ../../lib/libcls_version.so 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]; | ^~~~~~ [ 7%] Built target cls_numops [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldblib.c.o [ 8%] Building CXX object src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_types.cc.o [ 8%] Building CXX object src/cls/CMakeFiles/cls_lua_client.dir/lua/cls_lua_client.cc.o [ 8%] Linking CXX shared library ../../lib/libcls_timeindex.so /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, | ^~~~~~~~~~~~~~~ [ 8%] Built target cls_version [ 8%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodeJerasure.cc.o [ 8%] Building C object src/lua/CMakeFiles/liblua.dir/src/liolib.c.o 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 | ^~~~~~~~ [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/c.cc.o [ 8%] Built target cls_timeindex [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/column_family.cc.o 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 8%] Building C object src/lua/CMakeFiles/liblua.dir/src/lmathlib.c.o [ 8%] Linking CXX shared library ../../lib/libcls_log.so [ 8%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_ops.cc.o [ 0%] Building CXX object CMakeFiles/rocksdb.dir/db/compacted_db_impl.cc.o [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction.cc.o [ 8%] Linking CXX shared library ../../lib/libcls_user.so [ 8%] Building CXX object src/cls/CMakeFiles/cls_timeindex_client.dir/timeindex/cls_timeindex_client.cc.o [ 8%] Building C object src/lua/CMakeFiles/liblua.dir/src/loslib.c.o [ 8%] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_ops.cc.o [ 8%] Built target cls_log [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstrlib.c.o [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltablib.c.o [ 9%] Linking CXX static library ../../lib/libcls_version_client.a [ 9%] Built target cls_user 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 | ^~~~~~~~ [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_iterator.cc.o [ 9%] Built target cls_version_client [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_job.cc.o 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 9%] Building CXX object src/cls/CMakeFiles/cls_cas_client.dir/cas/cls_cas_client.cc.o [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker.cc.o 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 | ^~~~~~~~ [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/linit.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 /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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lutf8lib.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/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) { | ^ /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker_fifo.cc.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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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 /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("") | ^~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~ [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/loadlib_rel.c.o 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 | ^~~~~~~~ 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/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 | ^~~~~~~~ [ 41%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/zstdmt_compress.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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 9%] Linking C static library ../../lib/liblua.a [ 9%] Linking CXX shared library ../../lib/libcls_otp.so [ 9%] Linking CXX static library ../../lib/libcls_log_client.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 9%] Built target liblua [ 9%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/crc/crc_base_aliases.c.o [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/compaction_picker_universal.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 | ^~~~~~~~ [ 9%] Building CXX object src/cls/CMakeFiles/cls_journal_client.dir/journal/cls_journal_types.cc.o 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 | ^~~~~~~~ [ 9%] Built target cls_log_client [ 9%] Linking CXX shared library ../../../lib/libceph_snappy.so [ 9%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/crc/crc_base.c.o [ 9%] Building CXX object src/cls/CMakeFiles/cls_queue_client.dir/queue/cls_queue_client.cc.o [ 9%] Built target cls_otp 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 | ^~~~~~~~ [ 9%] Building C object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/crc/crc64_base.c.o [ 9%] Linking CXX static library ../../lib/libcls_lua_client.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 | ^~~~~~~~ [ 9%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc_client.dir/rgw_gc/cls_rgw_gc_client.cc.o [ 9%] Linking CXX shared library ../../lib/libcls_journal.so [ 9%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_body.asm.o [ 9%] Building CXX object src/cls/CMakeFiles/cls_user_client.dir/user/cls_user_ops.cc.o [ 9%] Linking CXX shared library ../../lib/libcls_lock.so [ 9%] Linking CXX shared library ../../../lib/libceph_lz4.so [ 9%] Built target ceph_snappy [ 9%] Built target cls_lua_client [ 9%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_finish.asm.o [ 9%] Building C object src/erasure-code/shec/CMakeFiles/shec_utils.dir/determinant.c.o [ 10%] Built target rgw_rados-tp [ 10%] generating mgr/rook/rook_client +++ readlink -f ./generate_rook_ceph_client.sh [ 10%] Built target rgw_op-tp ++ 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 [ 10%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_icf_body_h1_gr_bt.asm.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 | ^~~~~~~~ [ 10%] Built target mgr-rook-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/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 [ 10%] Built target cls_journal [ 10%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_icf_finish.asm.o [ 10%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/QueueStrategy.cc.o [ 10%] Built target ceph_lz4 [ 10%] Built target cls_lock [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/BackTrace.cc.o [ 11%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/ObjectCacheStore.cc.o [ 11%] keep civetweb.h up-to-date [ 11%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/journal/Types.cc.o [ 11%] Built target librbd-tp [ 11%] Generating setup.py [ 11%] Generating setup.py [ 11%] Built target civetweb_h [ 44%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/zstd_fast.c.o [ 11%] Generating ceph_volume [ 11%] Generating README.rst [ 11%] Building CXX object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isal_crypto_plugin.cc.o [ 11%] Built target ceph_volume-clone [ 11%] Generating requirements.txt [ 11%] Generating ceph 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 { | ^~~~~~~~ [ 11%] Building CXX object src/googletest/googletest/CMakeFiles/gtest.dir/src/gtest-all.cc.o /usr/include/c++/12/bits/stl_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/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 [ 11%] Built target ceph-clone [ 11%] Building CXX object src/tools/CMakeFiles/ceph-diff-sorted.dir/ceph-diff-sorted.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 | ^~~~~~~~ [ 11%] Generating setup.py 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 | ^~~~~~~~ [ 11%] Generating cephfs-shell [ 11%] Built target cephfs-shell-clone [ 11%] Building C object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_pre.c.o [ 11%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/Crypto.cc.o [ 11%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_multibinary.asm.o [ 11%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/keyexp_128.asm.o [ 11%] Built target common_buffer_obj [ 11%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/KeyRing.cc.o [ 11%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/keyexp_192.asm.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 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 | ^~~~~~~~ [ 11%] Building CXX object src/librbd/CMakeFiles/rbd_api.dir/librbd.cc.o [ 11%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_types.dir/image_map/Types.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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 11%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/keyexp_256.asm.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 [ 11%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_types.dir/instance_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, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::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 [ 11%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/keyexp_multibinary.asm.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 | ^~~~~~~~ [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ConfUtils.cc.o 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, | ^~~~~~~~~~ [ 11%] Linking CXX shared library ../../../lib/libceph_crypto_openssl.so [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Cycles.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 11%] Linking CXX executable ../../bin/ceph-diff-sorted [ 11%] Built target ceph_crypto_openssl [ 11%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay_types.dir/ActionTypes.cc.o [ 11%] Built target ceph-diff-sorted In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 11%] Linking CXX static library ../../lib/libheap_profiler.a [ 11%] Building CXX object src/test/CMakeFiles/unit-main.dir/unit.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 11%] Built target jerasure_objs 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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 11%] Built target heap_profiler /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 11%] Building CXX object src/test/rgw/CMakeFiles/amqp_mock.dir/amqp_mock.cc.o [ 11%] Building CXX object src/test/rgw/CMakeFiles/kafka_stub.dir/kafka_stub.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 [ 11%] Linking CXX static library ../../../lib/libkafka_stub.a 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::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 [ 11%] Linking C shared library ../../lib/librbd_tp.so [ 11%] Built target kafka_stub [ 11%] Building CXX object src/test/librados/CMakeFiles/radostest_shared.dir/test_shared.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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = 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 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 [ 11%] 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 > >; Ts = {long unsigned int, std::__cxx11::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 11%] Building CXX object src/test/compressor/CMakeFiles/ceph_example.dir/compressor_plugin_example.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} 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 int, std::map, std::allocator > >, std::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 [ 11%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_128_x4_sse.asm.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 11%] Built target compressor_objs [ 11%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushTester.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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ [ 11%] Building CXX object src/test/erasure-code/CMakeFiles/ec_missing_entry_point.dir/ErasureCodePluginMissingEntryPoint.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::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 [ 11%] Linking CXX shared library ../../../lib/libec_missing_entry_point.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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::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 [ 11%] Built target ec_missing_entry_point /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 [ 11%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_128_x8_avx.asm.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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/erasure-code/CMakeFiles/ec_missing_version.dir/ErasureCodePluginMissingVersion.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 [ 11%] Linking CXX shared library ../../../lib/libec_missing_version.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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 11%] Built target rados_snap_set_diff_obj /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 [ 11%] Built target common_prioritycache_obj /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 [ 11%] Building CXX object src/test/erasure-code/CMakeFiles/ec_fail_to_initialize.dir/ErasureCodePluginFailToInitialize.cc.o [ 11%] Building CXX object src/test/erasure-code/CMakeFiles/ec_hangs.dir/ErasureCodePluginHangs.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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 11%] Linking CXX shared library ../../../lib/libec_fail_to_initialize.so [ 11%] Built target ec_missing_version [ 11%] Linking CXX shared library ../../../lib/libec_hangs.so /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 [ 11%] Building C object src/test/rgw/CMakeFiles/amqp_mock.dir/amqp_url.c.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/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." | ^~~~~~~ [ 12%] Linking CXX static library ../../lib/libfmt.a /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 [ 12%] Built target ec_fail_to_initialize /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 12%] Built target ec_hangs /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 [ 12%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/RotatingKeyRing.cc.o [ 12%] Building CXX object src/test/erasure-code/CMakeFiles/ec_fail_to_register.dir/ErasureCodePluginFailToRegister.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 12%] Linking CXX shared library ../../../lib/libec_fail_to_register.so /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 [ 12%] Built target fmt /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 12%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/LibradosTestStub.cc.o [ 12%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Connection.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 = {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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 12%] Built target ec_fail_to_register [ 12%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/msg_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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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 | ^~~~~~~~ [ 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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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] 1001 | for (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 [ 3%] Building CXX object CMakeFiles/rocksdb.dir/db/convenience.cc.o [ 12%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncConnection.cc.o [ 12%] Linking C shared library ../../lib/librados_tp.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 [ 12%] Linking CXX static library ../../../lib/libamqp_mock.a [ 12%] Building CXX object src/test/mon/CMakeFiles/ceph_test_mon_memory_target.dir/test_mon_memory_target.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 12%] Built target amqp_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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 12%] Built target rados_tp [ 12%] Linking CXX static library ../../lib/libcls_otp_client.a [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_filesnapshot.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/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 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, 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 [ 12%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncMessenger.cc.o [ 12%] Building CXX object src/test/mon/CMakeFiles/ceph_test_log_rss_usage.dir/test_log_rss_usage.cc.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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_write.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 [ 12%] Built target cls_otp_client [ 12%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxAuthorizeHandler.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 [ 12%] Linking CXX static library ../../lib/libcls_timeindex_client.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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::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 [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_compaction_flush.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 = {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 [ 12%] Built target cls_timeindex_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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 12%] Building CXX object src/test/mon/CMakeFiles/ceph_test_mon_rss_usage.dir/test_mon_rss_usage.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ [ 12%] Built target radostest_shared [ 12%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/pidfile.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/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 [ 12%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/signal_handler.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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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_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 | ^~~~~~~~ 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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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_refcount_client.a [ 12%] Linking CXX static library ../../lib/libcls_lock_client.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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_files.cc.o [ 12%] Linking CXX static library ../../lib/libcls_cas_client.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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 12%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o [ 12%] Built target cls_refcount_client [ 12%] Linking CXX executable ../../../bin/ceph_test_log_rss_usage [ 12%] 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/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 | ^~~~~~~~ [ 12%] Built target cls_lock_client [ 12%] Built target cls_cas_client 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 | ^~~~~~~~ [ 12%] Building CXX object src/rgw/CMakeFiles/rgw_schedulers.dir/rgw_dmclock_scheduler_ctx.cc.o [ 12%] Building CXX object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isal_crypto_accel.cc.o [ 12%] Built target ceph_test_log_rss_usage [ 12%] Building CXX object src/test/system/CMakeFiles/systest.dir/cross_process_sem.cc.o [ 12%] Building CXX object src/key_value_store/CMakeFiles/cls_kvs.dir/cls_kvs.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) { | ^ [ 12%] 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 12%] Building CXX object src/rgw/CMakeFiles/rgw_schedulers.dir/rgw_dmclock_sync_scheduler.cc.o [ 12%] Linking CXX static library ../../lib/libcls_journal_client.a [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_open.cc.o [ 12%] Linking CXX shared library ../../lib/libcls_cephfs.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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 12%] Built target cls_journal_client [ 12%] Building C object src/CMakeFiles/common-objs.dir/ceph_ver.c.o [ 12%] Linking CXX static library ../../lib/libcls_queue_client.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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 12%] Building CXX object src/CMakeFiles/common-objs.dir/global/global_context.cc.o [ 12%] Built target cls_queue_client [ 12%] Linking CXX executable ../../../bin/ceph_test_mon_rss_usage [ 12%] Building CXX object src/test/system/CMakeFiles/systest.dir/systest_runnable.cc.o [ 12%] Built target cls_cephfs [ 13%] Building CXX object src/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_reader.cpp.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 [ 13%] Building CXX object src/json_spirit/CMakeFiles/json_spirit.dir/json_spirit_writer.cpp.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 [ 14%] Building CXX object src/common/CMakeFiles/crc32.dir/crc32c.cc.o Running Sphinx v6.1.3 [ 14%] Linking CXX shared library ../../lib/libcls_hello.so [ 14%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/IoCtxImpl.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 [ 14%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/RadosXattrIter.cc.o [ 14%] Built target ceph_test_mon_rss_usage [ 14%] Building C object src/common/CMakeFiles/crc32.dir/crc32c_intel_baseline.c.o [ 14%] Building CXX object src/CMakeFiles/krbd.dir/krbd.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 14%] Building C object src/common/CMakeFiles/crc32.dir/sctp_crc32.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 [ 14%] Built target cls_hello [ 14%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_192_x4_sse.asm.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 [ 14%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/mirroring_watcher/Types.cc.o [ 14%] Linking CXX static library ../../lib/libcls_user_client.a [ 14%] Building C object src/common/CMakeFiles/crc32.dir/crc32c_intel_fast.c.o [ 14%] Building CXX object src/cls/CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_client.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 | ^~~~~~~~ [ 14%] Building ASM object src/common/CMakeFiles/crc32.dir/crc32c_intel_fast_asm.s.o 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 | ^~~~~~~~ [ 14%] Building ASM object src/common/CMakeFiles/crc32.dir/crc32c_intel_fast_zero_asm.s.o /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 14%] Linking CXX static library ../../lib/libcrc32.a [ 14%] Built target cls_user_client [ 14%] Generate rgw_iam_policy_keywords.frag.cc reading sources... [ 4%] 8/ceph-authtool [ 14%] Built target crc32 [ 14%] Building CXX object src/cls/CMakeFiles/cls_rbd_client.dir/rbd/cls_rbd_types.cc.o reading sources... [ 7%] 8/ceph-bluestore-tool [ 14%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_finisher.cc.o [ 14%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/rfc1951_lookup.asm.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 | ^~~~~~~~ reading sources... [ 9%] 8/ceph-clsinfo reading sources... [ 11%] 8/ceph-conf [ 14%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/adler32_sse.asm.o reading sources... [ 14%] 8/ceph-create-keys reading sources... [ 16%] 8/ceph-debugpack reading sources... [ 19%] 8/ceph-dencoder reading sources... [ 21%] 8/ceph-deploy [ 14%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/adler32_avx2_4.asm.o reading sources... [ 23%] 8/ceph-diff-sorted [ 14%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_multibinary.asm.o reading sources... [ 26%] 8/ceph-fuse reading sources... [ 28%] 8/ceph-immutable-object-cache [ 14%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_update_histogram_01.asm.o [ 14%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_update_histogram_04.asm.o [ 14%] Linking CXX shared library ../../lib/libcls_cas.so reading sources... [ 30%] 8/ceph-kvstore-tool reading sources... [ 33%] 8/ceph-mds reading sources... [ 35%] 8/ceph-mon [ 14%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_decode_block_stateless_01.asm.o reading sources... [ 38%] 8/ceph-osd reading sources... [ 40%] 8/ceph-post-file [ 14%] Linking CXX shared library ../../lib/libcls_queue.so reading sources... [ 42%] 8/ceph-rbdnamer reading sources... [ 45%] 8/ceph-run [ 14%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_decode_block_stateless_04.asm.o [ 14%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/RadosClient.cc.o reading sources... [ 47%] 8/ceph-syn reading sources... [ 50%] 8/ceph-volume [ 14%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_inflate_multibinary.asm.o [ 15%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/encode_df_04.asm.o [ 15%] Linking CXX shared library ../../lib/libcls_rgw_gc.so [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_debug.cc.o [ 15%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/encode_df_06.asm.o reading sources... [ 52%] 8/ceph-volume-systemd reading sources... [ 54%] 8/cephadm [ 15%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/proc_heap.asm.o [ 15%] Built target cls_cas [ 15%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/librados_util.cc.o [ 15%] Building CXX object src/librados/CMakeFiles/librados_impl.dir/librados_tp.cc.o [ 15%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_deflate_hash.asm.o [ 15%] Built target cls_queue [ 15%] Building CXX object src/journal/CMakeFiles/journal.dir/Entry.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, | ^~~~~~~~~~~~ [ 15%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_gen_icf_map_lh1_06.asm.o /builddir/build/BUILD/dsms-storage/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, | ^~~~~~~~~~ reading sources... [ 57%] 8/crushtool reading sources... [ 59%] 8/librados-config reading sources... [ 61%] 8/monmaptool [ 15%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_gen_icf_map_lh1_04.asm.o reading sources... [ 64%] 8/mount.ceph [ 16%] Building CXX object src/test/system/CMakeFiles/systest.dir/systest_settings.cc.o reading sources... [ 66%] 8/mount.fuse.ceph [ 16%] Built target cls_rgw_gc /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, | ^~~~~~~~~~~~~~~ reading sources... [ 69%] 8/osdmaptool [ 16%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_set_long_icf_fg_04.asm.o [ 16%] Building CXX object src/test/system/CMakeFiles/systest.dir/st_rados_create_pool.cc.o [ 16%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_types.dir/leader_watcher/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/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 [ 16%] Building ASM object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/__/__/isa-l/igzip/igzip_set_long_icf_fg_06.asm.o [ 16%] Built target erasure_code_objs reading sources... [ 71%] 8/rados /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()) { | ^~~~ | & [ 16%] Linking CXX shared library ../../../lib/libceph_zlib.so [ 16%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ClusterWatcher.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/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 reading sources... [ 73%] 8/radosgw reading sources... [ 76%] 8/radosgw-admin /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 16%] Built target shec_utils 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 16%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageDeleter.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 /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::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 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("") | ^~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Built target ceph_zlib /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 reading sources... [ 78%] 8/rbd /builddir/build/BUILD/dsms-storage/src/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 [ 16%] Building CXX object src/test/erasure-code/CMakeFiles/ec_example.dir/ErasureCodePluginExample.cc.o [ 16%] Building C object src/CMakeFiles/common-objs.dir/xxHash/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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 16%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageMap.cc.o [ 16%] Building CXX object src/test/system/CMakeFiles/systest.dir/st_rados_delete_pool.cc.o [ 16%] Built target unit-main [ 6%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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... [ 80%] 8/rbd-fuse /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 16%] Linking CXX static library ../../lib/libcls_rgw_gc_client.a reading sources... [ 83%] 8/rbd-ggate [ 16%] Building CXX object src/CMakeFiles/common-objs.dir/log/Log.cc.o reading sources... [ 85%] 8/rbd-mirror /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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... [ 88%] 8/rbd-nbd reading sources... [ 90%] 8/rbd-replay [ 16%] Built target cls_rgw_gc_client [ 16%] Built target jerasure_utils /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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... [ 92%] 8/rbd-replay-many [ 16%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bi_rados.cc.o reading sources... [ 95%] 8/rbd-replay-prep [ 16%] Building CXX object src/test/system/CMakeFiles/systest.dir/st_rados_list_objects.cc.o reading sources... [ 97%] 8/rbdmap In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 reading sources... [100%] 8/rgw-orphan-list looking for now-outdated files... none found pickling environment... [ 16%] Building C object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_base.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 done checking consistency... done writing... ceph-authtool.8 { } [ 16%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/trash_watcher/Types.cc.o ceph-bluestore-tool.8 { /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 } ceph-clsinfo.8 { } ceph-conf.8 { } ceph-create-keys.8 { } [ 16%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_dot_prod_sse.asm.o ceph-debugpack.8 { } ceph-dencoder.8 { } ceph-deploy.8 { [ 16%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_dot_prod_sse.asm.o [ 16%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_dot_prod_sse.asm.o [ 16%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_dot_prod_sse.asm.o } [ 16%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_dot_prod_sse.asm.o ceph-diff-sorted.8 { } ceph-fuse.8 { } ceph-immutable-object-cache.8 { } ceph-kvstore-tool.8 { } ceph-mds.8 { [ 16%] Linking CXX shared library ../../../lib/libec_shec_sse4.so } ceph-mon.8 { 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 | ^~~~~~~~ } [ 16%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_dot_prod_sse.asm.o ceph-osd.8 { } ceph-post-file.8 { [ 16%] Linking CXX static library ../../../lib/libsystest.a } [ 16%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_mad_avx2.asm.o ceph-rbdnamer.8 { } ceph-run.8 { } ceph-syn.8 { } ceph-volume-systemd.8 { } [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_mad_avx2.asm.o ceph-volume.8 { } ceph.8 { [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_mad_avx2.asm.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/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 | ^~~~~~~~ } [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_mad_avx2.asm.o [ 17%] Built target systest [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_mad_avx2.asm.o [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mad_avx2.asm.o [ 17%] Building CXX object src/librbd/CMakeFiles/rbd_types.dir/watcher/Types.cc.o [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_readonly.cc.o [ 17%] Building C object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_highlevel_func.c.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 | ^~~~~~~~ [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_impl_secondary.cc.o cephadm.8 { } crushtool.8 { 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 | ^~~~~~~~ [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_mad_avx.asm.o [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_mad_avx.asm.o In file included from /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 { | ^~~~~~~~ [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_mad_avx.asm.o /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_mad_avx.asm.o [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_mad_avx.asm.o } [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mad_avx.asm.o librados-config.8 { } monmaptool.8 { [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/ec_multibinary.asm.o } mount.ceph.8 { [ 17%] Built target ec_shec_sse4 } [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_mad_sse.asm.o mount.fuse.ceph.8 { } osdmaptool.8 { [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_mad_sse.asm.o } rados.8 { [ 17%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/DecayCounter.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/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 | ^~~~~~~~ } [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_mad_sse.asm.o radosgw-admin.8 { } [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_mad_sse.asm.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.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 | ^~~~~~~~ [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_mad_sse.asm.o radosgw.8 { } rbd-fuse.8 { } rbd-ggate.8 { } [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mad_sse.asm.o [ 17%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_192_x8_avx.asm.o rbd-mirror.8 { } rbd-nbd.8 { [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_dot_prod_avx2.asm.o } rbd-replay-many.8 { } rbd-replay-prep.8 { } [ 17%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_256_x4_sse.asm.o rbd-replay.8 { } [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_dot_prod_avx2.asm.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying rbd.8 { /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 17%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_dot_prod_avx2.asm.o [ 17%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_dec_256_x8_avx.asm.o [ 18%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_dot_prod_avx2.asm.o [ 19%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_128_x4_sb.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_dot_prod_avx2.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mul_avx.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_dot_prod_avx2.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_dot_prod_avx.asm.o [ 19%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.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/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%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_dot_prod_avx.asm.o [ 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_dot_prod_avx.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_5vect_dot_prod_avx.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_6vect_dot_prod_avx.asm.o } [ 19%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_128_x8_sb.asm.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 [ 19%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_192_x4_sb.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_dot_prod_avx.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mul_sse.asm.o rbdmap.8 { } rgw-orphan-list.8 { } done build succeeded. The manual pages are in .. /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_192_x8_sb.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_dot_prod_avx512.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_2vect_mad_avx512.asm.o [ 19%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_256_x4_sb.asm.o [ 19%] Building ASM object src/crypto/isa-l/CMakeFiles/ceph_crypto_isal.dir/isa-l_crypto/aes/cbc_enc_256_x8_sb.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_dot_prod_avx512.asm.o [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_3vect_mad_avx512.asm.o [ 19%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Finisher.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/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 [ 19%] Linking CXX shared library ../../../lib/libceph_crypto_isal.so 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 [ 19%] Linking CXX shared library ../../../lib/libec_shec_generic.so [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_dot_prod_avx512.asm.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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::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 [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_4vect_mad_avx512.asm.o [ 19%] Linking CXX shared library ../../../lib/libec_shec_sse3.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 /builddir/build/BUILD/dsms-storage/src/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 [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_dot_prod_avx512.asm.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::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 [ 19%] Building ASM object src/erasure-code/isa/CMakeFiles/ec_isa.dir/__/__/isa-l/erasure_code/gf_vect_mad_avx512.asm.o [ 19%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/ErasureCodeIsa.cc.o [ 19%] Built target ceph_crypto_isal [ 19%] Linking CXX shared library ../../../lib/libec_jerasure_sse4.so [ 19%] Built target ec_shec_generic [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_info_dumper.cc.o [ 19%] Built target ec_shec_sse3 [ 19%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 19%] Linking CXX shared library ../../../lib/libec_jerasure_generic.so 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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_jerasure_sse4 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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%] Linking CXX shared library ../../../lib/libec_shec.so [ 19%] Linking CXX shared library ../../../lib/libec_jerasure_sse3.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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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/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 > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ [ 19%] Built target ec_jerasure_generic /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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/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 | ^~~~~~~~ [ 19%] Built target crypto_plugins [ 19%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Formatter.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 | ^~~~~~~~ [ 19%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV1.cc.o [ 19%] Built target ec_jerasure_sse3 [ 19%] Built target ec_shec [ 19%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV2.cc.o [ 19%] Linking CXX shared library ../../../lib/libec_jerasure.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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 | ^~~~~~~~ [ 20%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bilog_rados.cc.o [ 20%] manpages building [ 20%] Built target manpages [ 20%] Built target ec_jerasure [ 20%] 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/CMakeFiles/common-objs.dir/mon/MonCap.cc.o [ 20%] Building CXX object src/journal/CMakeFiles/journal.dir/Future.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 | ^~~~~~~~ [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/db_iter.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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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, 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 [ 20%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonClient.cc.o [ 20%] Linking CXX static library ../../lib/librbd_replay_types.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/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 [ 20%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Event.cc.o [ 20%] Built target rbd_replay_types [ 20%] Building CXX object src/journal/CMakeFiles/journal.dir/FutureImpl.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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 20%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/EventSelect.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/dbformat.cc.o [ 20%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushLocation.cc.o [ 20%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheController.cc.o [ 10%] Building CXX object CMakeFiles/rocksdb.dir/db/error_handler.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/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 | ^~~~~~~~ [ 58%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/compress/zstd_ldm.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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: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, | ^~~~~~~~~~ [ 20%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o [ 62%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/decompress/huf_decompress.c.o 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 | ^~~~~~~~ [ 20%] Linking CXX static library ../../../lib/librbd_mirror_types.a [ 20%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Graylog.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: /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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 [ 20%] Built target libglobal_objs [ 20%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/PosixStack.cc.o [ 20%] Built target rbd_mirror_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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 20%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheServer.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 20%] Building CXX object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isal_crypto_plugin.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 | ^~~~~~~~ [ 20%] Building C object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_pre.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, | ^~~~~~~~~~ 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 | ^~~~~~~~ [ 20%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_multibinary.asm.o [ 20%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Stack.cc.o [ 20%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/keyexp_128.asm.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 [ 20%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/keyexp_192.asm.o [ 20%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/keyexp_256.asm.o [ 20%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/keyexp_multibinary.asm.o [ 20%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_128_x4_sse.asm.o [ 20%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_128_x8_avx.asm.o [ 20%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_192_x4_sse.asm.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 20%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_192_x8_avx.asm.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestClassHandler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 20%] Linking CXX static library ../../lib/libcls_cephfs_client.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] 1001 | for (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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 21%] Linking CXX shared library ../../lib/libcls_kvs.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 [ 21%] Built target cls_cephfs_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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 21%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/crypto_onwire.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/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] 1001 | for (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 [ 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 21%] Built target cls_kvs [ 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 21%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/frames_v2.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 | ^~~~~~~~ [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/external_sst_file_ingestion_job.cc.o /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 65%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/decompress/zstd_decompress.c.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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 21%] Building CXX object src/journal/CMakeFiles/journal.dir/Journaler.cc.o [ 21%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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) \ | ^~~~ 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 | ^~~~~~~~ [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/mon/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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/file_indexer.cc.o [ 21%] Linking CXX shared library ../../../lib/libceph_example.so 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( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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%] Building CXX object src/CMakeFiles/common-objs.dir/mon/MonSub.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: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, | ^~~~~~~~~~ [ 21%] Built target ceph_example [ 21%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/ErasureCodeIsaTableCache.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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 21%] Linking CXX static library ../../lib/librgw_schedulers.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::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 [ 21%] Built target rgw_schedulers [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/flush_job.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/flush_scheduler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 21%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/mon/PGMap.cc.o [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/mgr/ServiceMap.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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/osd/ECMsgTypes.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 | ^~~~~~~~ [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/forward_iterator.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 CMakeFiles/rocksdb.dir/db/internal_stats.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 13%] Building CXX object CMakeFiles/rocksdb.dir/db/in_memory_stats_history.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/HTMLFormatter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 | ^~~~~~~~ [ 21%] Linking CXX static library ../../lib/libcls_rgw_client.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::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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] 1001 | for (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, 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/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 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 | ^~~~~~~~ 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("") | ^~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 21%] Built target cls_rgw_client [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/HeartbeatMap.cc.o [ 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/LogClient.cc.o 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/log_reader.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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/log_writer.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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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/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) \ | ^~~~ [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/LogEntry.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/CMakeFiles/common-objs.dir/osd/HitSet.cc.o [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/malloc_stats.cc.o [ 21%] Linking CXX static library ../../../lib/libgtest.a [ 21%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/ErasureCodePluginIsa.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/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/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; | ^~ [ 21%] Built target gtest /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 21%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/EventEpoll.cc.o [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/memtable.cc.o [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/memtable_list.cc.o In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 17%] Building CXX object CMakeFiles/rocksdb.dir/db/merge_helper.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( | ^~~~~~~~~~~~~~~~~~~~ [ 21%] Building CXX object src/journal/CMakeFiles/journal.dir/JournalMetadata.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/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 | ^~~~~~~~ [ 21%] Linking CXX static library ../../lib/libcls_rbd_client.a [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/merge_operator.cc.o [ 21%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheClient.cc.o [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/range_del_aggregator.cc.o [ 21%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/Infiniband.cc.o [ 21%] Built target cls_rbd_client [ 21%] Building CXX object src/googletest/googlemock/CMakeFiles/gmock.dir/src/gmock-all.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 | ^~~~~~~~ [ 21%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageReplayer.cc.o [ 21%] Linking CXX executable ../../../bin/ceph_test_mon_memory_target In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/ImageSync.cc.o [ 21%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OSDMap.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%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_256_x4_sse.asm.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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_dec_256_x8_avx.asm.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 [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_128_x4_sb.asm.o [ 21%] Building CXX object src/erasure-code/isa/CMakeFiles/ec_isa.dir/xor_op.cc.o [ 21%] Building CXX object src/journal/CMakeFiles/journal.dir/JournalPlayer.cc.o [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_128_x8_sb.asm.o [ 21%] Built target ceph_test_mon_memory_target [ 21%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ostream_temp.cc.o [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_192_x4_sb.asm.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_192_x8_sb.asm.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 [ 21%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_256_x4_sb.asm.o [ 22%] Building ASM object src/crypto/isa-l/CMakeFiles/isal_crypto_plugin_objs.dir/isa-l_crypto/aes/cbc_enc_256_x8_sb.asm.o [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/range_tombstone_fragmenter.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/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 [ 22%] Built target isal_crypto_plugin_objs [ 22%] 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 = {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 [ 23%] 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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; | ^~~~~~~~ [ 23%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.dir/CacheSession.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 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) \ | ^~~~ [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/repair.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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 CMakeFiles/rocksdb.dir/db/snapshot_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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket.cc.o [ 23%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/OutputDataSocket.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 23%] Linking CXX shared library ../../../lib/libec_example.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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 23%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/PluginRegistry.cc.o [ 23%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 23%] Built target ec_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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 > >, 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 [ 23%] Building CXX object src/journal/CMakeFiles/journal.dir/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 >; 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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 23%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestIoCtxImpl.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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::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 [ 23%] Built target store_test_fixture [ 23%] Building CXX object src/test/librbd/CMakeFiles/rbd_test_support.dir/test_support.cc.o [ 23%] Linking CXX static library ../../../lib/libgtest_main.a 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 | ^~~~~~~~ [ 23%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAConnectedSocketImpl.cc.o [ 23%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestMemCluster.cc.o [ 23%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestMemIoCtxImpl.cc.o [ 23%] Built target gtest_main [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket_sobj.cc.o [ 23%] Built target common-auth-objs [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/table_cache.cc.o [ 20%] Building CXX object CMakeFiles/rocksdb.dir/db/table_properties_collector.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) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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 > >; 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/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::set, std::allocator >, std::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::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 = {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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; 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 [ 23%] Built target crush_objs [ 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 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::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 = {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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 23%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 >; 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 [ 23%] 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 = {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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/version_edit.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 = {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 [ 23%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_bucket_sync_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, 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/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::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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 | ^~~~~~~~ [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/version_set.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 23%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OSDMapMapping.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, 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/wal_manager.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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 > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 = {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 [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/write_batch.cc.o [ 24%] 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::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 [ 25%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAIWARPServerSocketImpl.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 = {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 [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/write_batch_base.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(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 [ 25%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAStack.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_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 | ^~~~~~~~ [ 25%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestMemRadosClient.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 /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( | ^~~~~~~~~~~~~~~~~~~~ [ 25%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestRadosClient.cc.o [ 24%] Building CXX object CMakeFiles/rocksdb.dir/db/write_controller.cc.o [ 27%] Building CXX object CMakeFiles/rocksdb.dir/db/write_thread.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 | ^~~~~~~~ [ 25%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Readahead.cc.o 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ 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, 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env.cc.o [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env_chroot.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 [ 27%] Building CXX object CMakeFiles/rocksdb.dir/env/env_encryption.cc.o [ 25%] Linking CXX shared library ../../lib/libcls_rbd.so [ 25%] Linking CXX static library ../lib/libkrbd.a [ 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 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, 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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::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%] Built target krbd /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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 [ 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 | ^~~~~~~~ [ 25%] Built target cls_rbd [ 25%] Building CXX object src/CMakeFiles/common-objs.dir/osd/osd_types.cc.o [ 25%] Linking CXX static library ../../../lib/libgmock.a [ 25%] Building CXX object src/CMakeFiles/common-objs.dir/osd/PGPeeringEvent.cc.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/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/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 | ^~~~~~~~ [ 25%] Built target gmock [ 25%] Building CXX object src/erasure-code/clay/CMakeFiles/ec_clay.dir/ErasureCodePluginClay.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, | ^~~~~~~~~~ [ 27%] Building CXX object CMakeFiles/rocksdb.dir/memtable/hash_linklist_rep.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 [ 26%] Linking CXX shared library ../../../lib/libec_isa.so 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 | ^~~~~~~~ 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 = {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 [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/hash_skiplist_rep.cc.o [ 26%] Linking CXX static library ../../lib/librbd_types.a [ 26%] Built target ec_isa 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/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/RefCountedObj.cc.o [ 68%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/decompress/zstd_decompress_block.c.o [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/SloppyCRCMap.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/journal/CMakeFiles/journal.dir/ObjectPlayer.cc.o [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/skiplistrep.cc.o [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/vectorrep.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/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/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 | ^~~~~~~~ [ 31%] Building CXX object CMakeFiles/rocksdb.dir/memtable/write_buffer_manager.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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, 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 [ 26%] Built target rbd_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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 26%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/SubProcess.cc.o [ 26%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/immutable_object_cache/CMakeFiles/ceph_immutable_object_cache_lib.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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 31%] Building CXX object 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 >; 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::encode_nohead(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 [ 26%] Linking CXX static library ../../../lib/librbd_test_support.a [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/histogram_windowing.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/instrumented_mutex.cc.o 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 | ^~~~~~~~ [ 26%] Built target rbd_test_support 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, | ^~~~~~~~~~ [ 26%] Building CXX object src/test/journal/CMakeFiles/journal_test_mock.dir/mock/MockJournaler.cc.o [ 31%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/iostats_context.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/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 | ^~~~~~~~ [ 27%] Building CXX object src/test/librbd/CMakeFiles/rbd_test_mock.dir/mock/MockImageCtx.cc.o 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 | ^~~~~~~~ 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 | ^~~~~~~~ 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/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 | ^~~~~~~~ [ 72%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/decompress/zstd_ddict.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 [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/perf_context.cc.o 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 | ^~~~~~~~ [ 75%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/dictBuilder/cover.c.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 27%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Thread.cc.o [ 27%] Linking CXX static library ../../../lib/libgmock_main.a [ 27%] Built target gmock_main [ 27%] 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/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 [ 27%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_ClusterWatcher.cc.o [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/perf_level.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, | ^~~~~~~~~~ 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 | ^~~~~~~~ [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/statistics.cc.o /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 79%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/dictBuilder/fastcover.c.o [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_impl.cc.o [ 27%] Building CXX object src/test/CMakeFiles/unittest_any.dir/test_any.cc.o [ 34%] Building CXX object CMakeFiles/rocksdb.dir/monitoring/thread_status_updater.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/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 [ 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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 [ 82%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/dictBuilder/divsufsort.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/db_options.cc.o 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 | ^~~~~~~~ [ 86%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/dictBuilder/zdict.c.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( | ^~~~~~~~~~~~~~~~~~~~ [ 27%] 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/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/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: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 file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage/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: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 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))); | ^ [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/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/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 [ 27%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Throttle.cc.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options_helper.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 [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options_parser.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 [ 37%] Building CXX object CMakeFiles/rocksdb.dir/options/options_sanity_check.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, 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::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 [ 89%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/deprecated/zbuff_common.c.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/port/stack_trace.cc.o [ 93%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/deprecated/zbuff_compress.c.o [ 27%] Building CXX object src/test/librados_test_stub/CMakeFiles/rados_test_stub.dir/TestWatchNotify.cc.o [ 37%] Building CXX object CMakeFiles/rocksdb.dir/table/adaptive_table_factory.cc.o [ 96%] Building C object lib/CMakeFiles/libzstd_static.dir/builddir/build/BUILD/dsms-storage/src/zstd/lib/deprecated/zbuff_decompress.c.o [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block.cc.o [ 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_table_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 = {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 [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; 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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/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 [ 27%] Building CXX object src/CMakeFiles/common-objs.dir/osd/OpRequest.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_based_table_reader.cc.o [ 27%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/InstanceWatcher.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/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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/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) | ^~ | & [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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) { | ^~~~ | & /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 = {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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 41%] Building CXX object CMakeFiles/rocksdb.dir/table/block_fetcher.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [100%] Linking C static library libzstd.a [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/block_prefix_index.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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 src/CMakeFiles/common-objs.dir/osd/ClassHandler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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] [100%] Built target libzstd_static /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 27%] Performing install step for 'zstd_ext' [ 27%] Completed 'zstd_ext' 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 | ^~~~~~~~ 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 >; 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 [ 27%] Built target zstd_ext 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 | ^~~~~~~~ [ 27%] 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/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 | ^~~~~~~~ [ 27%] 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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/bloom_block.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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/cuckoo_table_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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 CMakeFiles/rocksdb.dir/table/cuckoo_table_factory.cc.o [ 27%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ [ 27%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_ImageDeleter.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 | ^~~~~~~~ [ 27%] 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/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 | ^~~~~~~~ [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/cuckoo_table_reader.cc.o In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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 [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/data_block_hash_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] 1001 | for (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 [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/data_block_footer.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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 44%] Building CXX object CMakeFiles/rocksdb.dir/table/flush_block_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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 27%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_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 = {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/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 | ^~~~~~~~ [ 27%] Building CXX object src/test/common/CMakeFiles/unittest_random.dir/test_random.cc.o [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/format.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 CMakeFiles/rocksdb.dir/table/full_filter_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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 27%] Building CXX object src/journal/CMakeFiles/journal.dir/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/get_context.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/index_builder.cc.o [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_cls.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 27%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 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( | ^~~~~~~~~~~~~~~~~~~~ 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 [ 27%] Building CXX object src/erasure-code/clay/CMakeFiles/ec_clay.dir/ErasureCodeClay.cc.o [ 27%] 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/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 /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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 27%] Building CXX object src/erasure-code/clay/CMakeFiles/ec_clay.dir/__/__/common/str_map.cc.o [ 27%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/LeaderWatcher.cc.o [ 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 48%] Building CXX object CMakeFiles/rocksdb.dir/table/merging_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 >; 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 [ 27%] Linking CXX executable ../../bin/unittest_weighted_shuffle 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) \ | ^~~~ [ 27%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_config_key_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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 27%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Mirror.cc.o [ 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Built target unittest_weighted_shuffle /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 27%] 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/partitioned_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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 27%] Linking CXX static library ../../lib/libjson_spirit.a [ 27%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Timer.cc.o [ 27%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/TracepointProvider.cc.o [ 28%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 28%] Built target json_spirit [ 28%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/MirrorStatusUpdater.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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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/MirrorStatusWatcher.cc.o [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/persistent_cache_helper.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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_builder.cc.o [ 29%] 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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_factory.cc.o [ 29%] 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ [ 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 29%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/WorkQueue.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 | ^~~~~~~~ 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 29%] Linking CXX static library ../../lib/librbd_api.a 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 | ^~~~~~~~ [ 29%] Linking CXX executable ../../../bin/unittest_random [ 29%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/address_helper.cc.o [ 29%] Linking CXX static library ../../lib/liblibrados_impl.a [ 29%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/admin_socket.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 | ^~~~~~~~ [ 29%] Built target rbd_api [ 29%] Built target unittest_random [ 29%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/admin_socket_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 /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( | ^~~~~~~~~~~~~~~~~~~~ [ 29%] Building CXX object src/test/common/CMakeFiles/unittest_split.dir/test_split.cc.o [ 29%] Linking CXX executable ../../../bin/unittest_convenience 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 29%] Built target librados_impl /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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 [ 29%] Building CXX object src/test/common/CMakeFiles/unittest_static_ptr.dir/test_static_ptr.cc.o [ 29%] Building CXX object src/test/common/CMakeFiles/unittest_async_completion.dir/test_async_completion.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.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::bound_encode(const 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%] Linking CXX static library ../../../lib/libceph_immutable_object_cache_lib.a [ 29%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/PoolReplayer.cc.o [ 29%] 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 [ 29%] Built target unittest_convenience /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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_key_coding.cc.o [ 29%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/plain_table_reader.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 51%] Building CXX object CMakeFiles/rocksdb.dir/table/sst_file_reader.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 [ 29%] Built target ceph_immutable_object_cache_lib 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::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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 [ 29%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_string.dir/test_rgw_string.cc.o [ 29%] 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, 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 [ 29%] Building CXX object src/erasure-code/lrc/CMakeFiles/ec_lrc.dir/ErasureCodeLrc.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 | ^~~~~~~~ [ 29%] Building CXX object src/CMakeFiles/common-objs.dir/osd/osd_op_util.cc.o [ 29%] Building CXX object src/CMakeFiles/common-objs.dir/osdc/Striper.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 | ^~~~~~~~ [ 29%] Building CXX object src/compressor/zstd/CMakeFiles/ceph_zstd.dir/CompressionPluginZstd.cc.o [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/sst_file_writer.cc.o [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/table_properties.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 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, | ^~~~~~~~~~ [ 55%] Building CXX object CMakeFiles/rocksdb.dir/table/two_level_iterator.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/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) \ | ^~~~ [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/db_bench_tool.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/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) \ | ^~~~ [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/dump/db_dump_tool.cc.o [ 30%] Building CXX object src/CMakeFiles/common-objs.dir/osdc/Objecter.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/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]); | ^ 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]); | ^ 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 | ^~~~~~~~ [ 30%] Building CXX object src/CMakeFiles/common-objs.dir/librbd/Features.cc.o [ 30%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/assert.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/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, | ^~~~~~~~~~ [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/ldb_cmd.cc.o [ 30%] Linking CXX static library ../../../lib/libjournal_test_mock.a [ 30%] Built target journal_test_mock [ 30%] Building CXX object src/cls/CMakeFiles/cls_refcount.dir/refcount/cls_refcount.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_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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 30%] Building CXX object src/erasure-code/lrc/CMakeFiles/ec_lrc.dir/__/__/common/str_map.cc.o [ 30%] Building CXX object src/cls/CMakeFiles/cls_rgw.dir/rgw/cls_rgw.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 30%] Linking CXX executable ../../../bin/unittest_split [ 30%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/bit_str.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 | ^~~~~~~~ [ 30%] Linking CXX executable ../../../bin/unittest_rgw_string [ 30%] Linking CXX executable ../../../bin/unittest_static_ptr [ 30%] Built target unittest_split [ 55%] Building CXX object CMakeFiles/rocksdb.dir/tools/ldb_tool.cc.o [ 58%] Building CXX object CMakeFiles/rocksdb.dir/tools/sst_dump_tool.cc.o [ 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 30%] Building CXX object src/cls/CMakeFiles/cls_lua.dir/lua/cls_lua.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 | ^~~~~~~~ [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/arena.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 [ 30%] Built target unittest_rgw_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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/cls/CMakeFiles/cls_rgw.dir/rgw/cls_rgw_ops.cc.o [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/auto_roll_logger.cc.o [ 31%] Built target unittest_static_ptr [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/bloom.cc.o [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/coding.cc.o [ 31%] Building CXX object src/cls/CMakeFiles/cls_lua.dir/lua/lua_bufferlist.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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 [ 31%] Linking CXX executable ../../bin/unittest_any 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/common/CMakeFiles/common-common-objs.dir/blkdev.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 | ^~~~~~~~ [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/bloom_filter.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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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 [ 31%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 31%] Built target unittest_any [ 31%] Building CXX object src/CMakeFiles/common-objs.dir/mds/FSMap.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 | ^~~~~~~~ [ 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 58%] Building CXX object CMakeFiles/rocksdb.dir/util/comparator.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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/compression_context_cache.cc.o [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/concurrent_arena.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 31%] Built target mgr_cap_obj [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/concurrent_task_limiter_impl.cc.o [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_context.cc.o [ 31%] Linking CXX static library ../../lib/libjournal.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_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, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_mdlog.cc.o 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 [ 31%] Building CXX object src/cls/CMakeFiles/cls_rgw.dir/rgw/cls_rgw_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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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, 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 31%] Building CXX object src/CMakeFiles/common-objs.dir/mds/FSMapUser.cc.o [ 31%] Building CXX object src/cls/CMakeFiles/cls_rgw.dir/__/common/ceph_json.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_crypto.cc.o [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/crc32c.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/delete_scheduler.cc.o [ 31%] Built target 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/dynamic_bloom.cc.o [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta.cc.o [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_frag.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 | ^~~~~~~~ [ 62%] Building CXX object CMakeFiles/rocksdb.dir/util/event_logger.cc.o [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/file_reader_writer.cc.o [ 31%] Building CXX object src/test/rbd_mirror/CMakeFiles/rbd_mirror_test.dir/test_fixture.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/file_util.cc.o [ 31%] Linking CXX static library ../../../lib/librados_test_stub.a 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/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/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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, 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/filename.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 [ 31%] Built target rados_test_stub [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/filter_policy.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 | ^~~~~~~~ [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/hash.cc.o [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be.cc.o [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/jemalloc_nodump_allocator.cc.o 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 | ^~~~~~~~ [ 65%] Building CXX object CMakeFiles/rocksdb.dir/util/log_buffer.cc.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/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 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/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 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/murmurhash.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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_fs.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 [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/PoolWatcher.cc.o [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_hash.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_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 | ^~~~~~~~ [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_json.cc.o [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_strings.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::bound_encode(const 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 [ 31%] Linking CXX shared library ../../../lib/libceph_zstd.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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 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 = {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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/rate_limiter.cc.o [ 31%] 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/RemotePoolPoller.cc.o [ 31%] Built target ceph_zstd /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 31%] Building CXX object src/CMakeFiles/common-objs.dir/mds/inode_backtrace.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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/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/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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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%] Linking CXX executable ../../../bin/unittest_ceph_timer [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Threads.cc.o [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be_otp.cc.o [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/slice.cc.o [ 31%] Built target unittest_ceph_timer [ 31%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Throttler.cc.o [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ceph_time.cc.o [ 31%] Built target compressor_plugins [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/cmdparse.cc.o [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/sst_file_manager_impl.cc.o [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/status.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 ()); | ~~~~~~~~~~~~~~~~~ [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_meta_be_sobj.cc.o [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/string_util.cc.o [ 68%] Building CXX object CMakeFiles/rocksdb.dir/util/sync_point.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/cls/CMakeFiles/cls_refcount.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/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 [ 31%] Building CXX object src/cls/CMakeFiles/cls_refcount.dir/__/common/ceph_json.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/code_environment.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/common_init.cc.o [ 31%] Linking CXX static library ../../lib/libosdc.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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_otp.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 [ 31%] 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::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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 31%] Linking CXX executable ../../../bin/unittest_async_completion /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 31%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/compat.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 [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/sync_point_impl.cc.o [ 31%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_quota.cc.o [ 31%] Built target rbd_test_mock [ 32%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/condition_variable_debug.cc.o [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/testutil.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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 32%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/config.cc.o [ 32%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sync_modules.cc.o [ 32%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/config_values.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 32%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_rados.cc.o [ 32%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/Types.cc.o [ 32%] Linking CXX shared library ../../lib/libcls_lua.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 [ 32%] Built target unittest_async_completion [ 32%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/SnapshotPurgeRequest.cc.o [ 32%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/TrashMoveRequest.cc.o 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 32%] Built target osdc [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/thread_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 32%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/dns_resolve.cc.o [ 33%] Building CXX object src/mds/CMakeFiles/mds.dir/BatchOp.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned 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_lua [ 33%] Building CXX object src/client/CMakeFiles/client.dir/Client.cc.o [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/dout.cc.o [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/threadpool_imp.cc.o [ 33%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/TrashRemoveRequest.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: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, | ^~~~~~~~~~ [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/entity_name.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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/environment.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 [ 33%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_deleter/TrashWatcher.cc.o [ 33%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/LoadRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ [ 33%] Building CXX object src/CMakeFiles/common-objs.dir/mds/mdstypes.cc.o [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/trace_replay.cc.o [ 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/common/CMakeFiles/common-common-objs.dir/errno.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 [ 72%] Building CXX object CMakeFiles/rocksdb.dir/util/xxhash.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/escape.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/common/CMakeFiles/common-common-objs.dir/fd.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 72%] Building CXX object CMakeFiles/rocksdb.dir/utilities/backupable/backupable_db.cc.o [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/fs_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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_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, | ^~~~~~~~~~ [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hex.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, | ^~~~~~~~~~ [ 33%] Building CXX object src/client/CMakeFiles/client.dir/Dentry.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/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 | ^~~~~~~~ [ 33%] 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned 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/CMakeFiles/common-objs.dir/mds/flock.cc.o 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 | ^~~~~~~~ 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 | ^~~~~~~~ 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::encode_nohead(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 [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 33%] 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/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 | ^~~~~~~~ [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_compaction_filter.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_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/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, | ^~~~~~~~~~ [ 33%] 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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 | ^~~~~~~~ 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, 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 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, | ^~~~~~~~~~ [ 33%] Linking CXX shared library ../../../lib/libec_clay.so [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db.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/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( | ^~~~~~~~~~~~~~~~~~~~ [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_db_impl.cc.o [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/histogram.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/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 | ^~~~~~~~ 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/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: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 file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage/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: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 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))); | ^ [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hobject.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_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/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 | ^~~~~~~~ [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_sys_obj_core.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 | ^~~~~~~~ [ 33%] Built target ec_clay [ 33%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/AsyncObjectThrottle.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 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 | ^~~~~~~~ [ 33%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/AsyncRequest.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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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: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::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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 33%] 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::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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, 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 [ 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_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, | ^~~~~~~~~~ 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, | ^~~~~~~~~~ [ 33%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ExclusiveLock.cc.o 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 | ^~~~~~~~ [ 33%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ImageCtx.cc.o [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/hostname.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/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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/common/CMakeFiles/common-common-objs.dir/ipaddr.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/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 [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/iso_8601.cc.o [ 33%] Building C object src/common/CMakeFiles/common-common-objs.dir/linux_version.c.o [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/lockdep.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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/mempool.cc.o 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 33%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_tier_rados.cc.o [ 33%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 C object src/common/CMakeFiles/common-common-objs.dir/mime.c.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_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 | ^~~~~~~~ [ 33%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/SimplePolicy.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::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, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::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/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 | ^~~~~~~~ [ 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/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 | ^~~~~~~~ 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, | ^~~~~~~~~~ [ 33%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/mutex_debug.cc.o 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 | ^~~~~~~~ [ 33%] Building CXX object src/client/CMakeFiles/client.dir/Inode.cc.o [ 33%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/StateTransition.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ [ 33%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_map/UpdateRequest.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/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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/common/CMakeFiles/common-common-objs.dir/numa.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.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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 34%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/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, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::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 [ 34%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/BootstrapRequest.cc.o [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_dump_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_file.cc.o [ 34%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/page.cc.o [ 34%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/perf_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 /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 | ^~~~~~~~ [ 34%] 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/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/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 /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/CloseImageRequest.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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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 /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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 34%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/perf_histogram.cc.o [ 34%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/CreateImageRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 = {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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 [ 34%] Linking CXX shared library ../../../lib/libec_lrc.so [ 34%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 34%] Building CXX object src/client/CMakeFiles/client.dir/MetaRequest.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, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 [ 35%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/OpenImageRequest.cc.o [ 36%] Building CXX object src/client/CMakeFiles/client.dir/ClientSnapRealm.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/OpenLocalImageRequest.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/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/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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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 [ 36%] Building CXX object src/client/CMakeFiles/client.dir/MetaSession.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/pick_address.cc.o [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/rabin.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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::encode_nohead(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/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 | ^~~~~~~~ [ 36%] 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 erasure_code_plugins [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/random_string.cc.o [ 36%] Building CXX object src/client/CMakeFiles/client.dir/Trace.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ [ 36%] 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 36%] Building C object src/common/CMakeFiles/common-common-objs.dir/reverse.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/run_cmd.cc.o [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/scrub_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/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 [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/shared_mutex_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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/signal.cc.o [ 36%] 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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ [ 36%] Linking CXX shared library ../../lib/libcls_refcount.so 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 [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/str_list.cc.o [ 75%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_writer.cc.o [ 36%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/PrepareRemoteImageRequest.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 [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/str_map.cc.o 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/blob_db/blob_log_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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 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 [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/strtol.cc.o 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 | ^~~~~~~~ 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 36%] Built target cls_refcount [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/cassandra/format.cc.o [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/cassandra/merge_operator.cc.o [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.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/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 [ 36%] Building CXX object src/mds/CMakeFiles/mds.dir/Capability.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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) { | ^ /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 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 | ^~~~~~~~ [ 36%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/StateBuilder.cc.o [ 36%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/url_escape.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 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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 C object src/common/CMakeFiles/common-common-objs.dir/utf8.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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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 [ 36%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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/common/CMakeFiles/common-common-objs.dir/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/common/CMakeFiles/common-common-objs.dir/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/compaction_filters/remove_emptyvalue_compactionfilter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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/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 | ^~~~~~~~ [ 79%] Building CXX object CMakeFiles/rocksdb.dir/utilities/debug.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {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 [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/env_mirror.cc.o [ 37%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/internal.cc.o [ 37%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSDaemon.cc.o [ 37%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/Journal.cc.o [ 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 37%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/LibrbdAdminSocketHook.cc.o [ 37%] Building CXX object src/client/CMakeFiles/client.dir/posix_acl.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 | ^~~~~~~~ [ 37%] Building CXX object src/client/CMakeFiles/client.dir/Delegation.cc.o [ 37%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ManagedLock.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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ 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 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 | ^~~~~~~~ [ 37%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/MirroringWatcher.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/leveldb_options/leveldb_options.cc.o [ 37%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/ObjectMap.cc.o 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 | ^~~~~~~~ [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_user.cc.o [ 37%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_user_rados.cc.o [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_zone.cc.o [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/services/svc_zone_utils.cc.o [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/Utils.cc.o [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/memory/memory_util.cc.o [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/Operations.cc.o [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/TrashWatcher.cc.o [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/Utils.cc.o [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/bytesxor.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/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 | ^~~~~~~~ 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/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 | ^~~~~~~~ [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_service.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/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( | ^~~~~~~~~~~~~~~~~~~~ [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/Watcher.cc.o [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/max.cc.o 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 | ^~~~~~~~ [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/put.cc.o [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/CreateLocalImageRequest.cc.o [ 82%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend.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/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 | ^~~~~~~~ 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 /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 | ^~~~~~~~ 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/string_append/stringappend2.cc.o [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/merge_operators/uint64add.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/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 | ^~~~~~~~ [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl.cc.o [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/option_change_migration/option_change_migration.cc.o [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl_s3.cc.o [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_acl_swift.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 [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/options/options_util.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/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 | ^~~~~~~~ [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_aio.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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier.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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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 [ 86%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/block_cache_tier_file.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/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 | ^~~~~~~~ [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_aio_throttle.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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Config.cc.o [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_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 > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/MDSRank.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/mds/CMakeFiles/mds.dir/Beacon.cc.o [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/flock.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 C object src/mds/CMakeFiles/mds.dir/locks.c.o 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 | ^~~~~~~~ [ 38%] Building CXX object src/mds/CMakeFiles/mds.dir/journal.cc.o 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_auth_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 [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/DiffIterate.cc.o 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/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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/EventPreprocessor.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 [ 38%] 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::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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/persistent_cache/volatile_tier_impl.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/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/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 | ^~~~~~~~ [ 38%] 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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/Replayer.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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/simulator_cache/sim_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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/table_properties_collectors/compact_on_deletion_collector.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 38%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/librbd/CMakeFiles/rbd_internal.dir/api/Image.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 | ^~~~~~~~ [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/ReplayStatusFormatter.cc.o 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 | ^~~~~~~~ [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/trace/file_trace_reader_writer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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_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: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 | ^~~~~~~~ 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, | ^~~~~~~~~~ [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction_db_impl.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/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 | ^~~~~~~~ [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/optimistic_transaction.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/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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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_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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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_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, | ^~~~~~~~~~ [ 89%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction.cc.o /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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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_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 | ^~~~~~~~ /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) { | ^~~~~~~~~~ | & [ 38%] Linking CXX shared library ../../lib/libcls_rgw.so 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 | ^~~~~~~~ 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, | ^~~~~~~~~~ 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/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 | ^~~~~~~~ [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/pessimistic_transaction_db.cc.o 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/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 | ^~~~~~~~ [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/snapshot_checker.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/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 | ^~~~~~~~ [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/StateBuilder.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/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 | ^~~~~~~~ [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/journal/SyncPointHandler.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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: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/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/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 | ^~~~~~~~ [ 38%] Built target cls_rgw [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_base.cc.o [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_db_mutex_impl.cc.o 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 | ^~~~~~~~ [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_basic_types.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: /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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_bucket.cc.o [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_bucket_sync.cc.o [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_lock_mgr.cc.o 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/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/ApplyImageStateRequest.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/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 | ^~~~~~~~ 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 /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( | ^~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~ [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/CreateLocalImageRequest.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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/include/c++/12/bits/stl_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/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/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/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) \ | ^~~~ [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cache.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 | ^~~~~~~~ [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_common.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/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) \ | ^~~~ [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_compression.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.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, from /builddir/build/BUILD/dsms-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/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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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, | ^~~~~~~~~~~~ /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_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, | ^~~~~~~~~~ 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 | ^~~~~~~~ [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_etag_verifier.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/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/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, | ^~~~~~~~~~ [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Migration.cc.o [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Mirror.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/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 | ^~~~~~~~ [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Namespace.cc.o [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Pool.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 [ 38%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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_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 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, | ^~~~~~~~~~ [ 38%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/PoolMetadata.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 | ^~~~~~~~ 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: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 file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage/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: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 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))); | ^ [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/transaction_util.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 [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/Replayer.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/StateBuilder.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/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 | ^~~~~~~~ [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cors.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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 38%] 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_dencoder.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 >; 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 [ 38%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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_acl_s3.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 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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: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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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; 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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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/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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::encode_nohead(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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/librbd/CMakeFiles/rbd_internal.dir/api/Snapshot.cc.o 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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_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/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 | ^~~~~~~~ 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::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: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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_replayer/snapshot/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: In instantiation of 'static void _denc::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, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /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/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 | ^~~~~~~~ [ 93%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 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 [ 38%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_sync/SyncPointCreateRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 38%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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_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/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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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_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, | ^~~~~~~~~~ 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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, 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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::encode_nohead(const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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/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 | ^~~~~~~~ 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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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 CMakeFiles/rocksdb.dir/utilities/transactions/write_prepared_txn_db.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/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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/transactions/write_unprepared_txn.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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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: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, | ^~~~~~~~~~ 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 | ^~~~~~~~ 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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::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/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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 | ^~~~~~~~ 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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::bound_encode(const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_formats.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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 [ 39%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_gc.cc.o 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 | ^~~~~~~~ [ 39%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_gc_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, from /builddir/build/BUILD/dsms-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 [ 39%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_http_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/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 /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/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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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_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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 39%] 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 [ 39%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_json_enc.cc.o [ 39%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/image_sync/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 [ 40%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/pool_watcher/RefreshImagesRequest.cc.o [ 40%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/api/Trash.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_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/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 | ^~~~~~~~ [ 40%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/ImageWriteback.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/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 | ^~~~~~~~ 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, | ^~~~~~~~~~~~ [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/ObjectCacherObjectDispatch.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, | ^~~~~~~~~~ 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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ 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/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 | ^~~~~~~~ [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_keystone.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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 [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/ParentCacheObjectDispatch.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 41%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd_mirror_internal.dir/service_daemon/Types.cc.o 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/ObjectCacherWriteback.cc.o [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/ttl/db_ttl_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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_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/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, | ^~~~~~~~~~ [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_ldap.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/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 | ^~~~~~~~ [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_lc.cc.o [ 41%] Building CXX object src/mds/CMakeFiles/mds.dir/Server.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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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/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/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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ [ 41%] Building CXX object src/mds/CMakeFiles/mds.dir/Mutation.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 [ 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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/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/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 | ^~~~~~~~ [ 96%] Building CXX object CMakeFiles/rocksdb.dir/utilities/write_batch_with_index/write_batch_with_index_internal.cc.o [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/cache/PassthroughImageCache.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/librbd/CMakeFiles/rbd_internal.dir/cache/WriteAroundObjectDispatch.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/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 | ^~~~~~~~ [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/ImageCopyRequest.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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 CMakeFiles/rocksdb.dir/port/port_posix.cc.o [ 96%] Building CXX object CMakeFiles/rocksdb.dir/env/env_posix.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 | ^~~~~~~~ [100%] Building CXX object CMakeFiles/rocksdb.dir/env/io_posix.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/deep_copy/MetadataCopyRequest.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/ObjectCopyRequest.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 | ^~~~~~~~ [ 41%] Linking CXX static library ../../../lib/librbd_mirror_test.a [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_lc_s3.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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_metadata.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 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); | ^~~~~~~~~~~~ [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_multi.cc.o /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.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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_multi_del.cc.o [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_obj_manifest.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 | ^~~~~~~~ [ 41%] Built target rbd_mirror_test [ 41%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_data_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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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: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, | ^~~~~~~~~~ [ 41%] 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: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/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 | ^~~~~~~~ [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/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/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 [ 41%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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 | ^~~~~~~~ [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module.cc.o /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_aws.cc.o [ 41%] 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_es_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 > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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 [ 41%] 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/deep_copy/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 [ 41%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_log.cc.o [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/AutomaticPolicy.cc.o 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 | ^~~~~~~~ [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/PreAcquireRequest.cc.o [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/PostAcquireRequest.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 | ^~~~~~~~ [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/PreReleaseRequest.cc.o /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()) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ [ 41%] Building CXX object src/mds/CMakeFiles/mds.dir/MDCache.cc.o [ 41%] Building CXX object src/mds/CMakeFiles/mds.dir/RecoveryQueue.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_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/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/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/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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/exclusive_lock/StandardPolicy.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 41%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/AttachChildRequest.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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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 /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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 42%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub.cc.o 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 | ^~~~~~~~ [ 42%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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 [100%] Linking CXX static library librocksdb.a 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 | ^~~~~~~~ [ 42%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_pubsub_push.cc.o [ 42%] Building CXX object src/mds/CMakeFiles/mds.dir/StrayManager.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, | ^~~~~~~~~~ [ 42%] Building CXX object src/mds/CMakeFiles/mds.dir/PurgeQueue.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/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 | ^~~~~~~~ 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_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, | ^~~~~~~~~~ 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, | ^~~~~~~~~~ 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 42%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_notify.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_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); | ^~~~~~~~~~~~~ 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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: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, | ^~~~~~~~~~ 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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 42%] Building CXX object src/mds/CMakeFiles/mds.dir/Locker.cc.o 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 | ^~~~~~~~ [ 42%] Built target common-msg-objs [ 42%] Building CXX object src/mds/CMakeFiles/mds.dir/Migrator.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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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_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, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 42%] Building CXX object src/mds/CMakeFiles/mds.dir/MDBalancer.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 >; 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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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/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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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/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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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] 963 | for (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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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: /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::encode_nohead(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 [ 42%] Building CXX object src/mds/CMakeFiles/mds.dir/CDentry.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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_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/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) \ | ^~~~ [ 42%] Built target common-objs [ 42%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/AttachParentRequest.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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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, | ^~~~~~~~~~ [ 42%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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/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::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 = {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::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 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, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::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/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/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 42%] 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 > >, 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 42%] 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::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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 42%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/CloseRequest.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, | ^~~~~~~~~~~~ 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 { | ^~~~~~~~ /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); | ^~~~~~~~~~~~~~~ /usr/include/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:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_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); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /usr/include/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, | ^~~~~~~~~~ [ 42%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/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 = {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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 42%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_module_pubsub_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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 | ^~~~~~~~ [ 42%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/DetachChildRequest.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 /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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 42%] Building CXX object src/mds/CMakeFiles/mds.dir/CInode.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/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/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::encode_nohead(const container&, ceph::buffer::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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ [ 42%] Linking CXX static library ../../../lib/librbd_mirror_internal.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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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::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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 42%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sync_trace.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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 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/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 [ 43%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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_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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::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 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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_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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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 | ^~~~~~~~ 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [100%] Built target rocksdb [ 43%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_bilog.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 { | ^~~~~~~~ [ 43%] Performing install step for 'rocksdb_ext' /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 43%] Completed 'rocksdb_ext' /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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 | ^~~~~~~~ [ 43%] Built target rocksdb_ext [ 43%] Building CXX object src/kv/CMakeFiles/kv.dir/KeyValueDB.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/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/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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::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/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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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, 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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 43%] 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, 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 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) \ | ^~~~ 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {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::set, std::allocator >, std::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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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; 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/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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 | ^~~~~~~~ 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 >; 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 43%] Building CXX object src/kv/CMakeFiles/kv.dir/RocksDBStore.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 43%] 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 [ 43%] 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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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] 1001 | for (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 [ 43%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_trim_mdlog.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 [ 43%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_period_history.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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/rgw/CMakeFiles/rgw_common.dir/rgw_period_puller.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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/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, 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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: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 = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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, from /builddir/build/BUILD/dsms-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/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::bound_encode(const 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 = {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/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) \ | ^~~~ [ 43%] 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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, 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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {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] 1001 | for (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 > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 > >; 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/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 | ^~~~~~~~ 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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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/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 | ^~~~~~~~ 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 { | ^~~~~~~~ In file included from /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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, 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 [ 43%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_coroutine.cc.o [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/GetMetadataRequest.cc.o 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 | ^~~~~~~~ [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/ListWatchersRequest.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, 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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 43%] Built target rbd_mirror_internal [ 43%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_rados.cc.o [ 43%] 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, 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, 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/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 | ^~~~~~~~ [ 43%] 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::encode_nohead(const container&, ceph::buffer::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: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/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, 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/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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/PreRemoveRequest.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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_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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 43%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 43%] 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 43%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_cr_tools.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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/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 | ^~~~~~~~ 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/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/RefreshParentRequest.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_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/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 | ^~~~~~~~ [ 43%] 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/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 | ^~~~~~~~ [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/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, 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 [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/RemoveRequest.cc.o 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 43%] 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 43%] 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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 43%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_op.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, 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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_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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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, 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 43%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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/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/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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 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/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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 43%] 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::encode_nohead(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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 43%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 43%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_public_access.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image/ValidatePoolRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {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_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::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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 [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/image_watcher/NotifyLockOwner.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/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 | ^~~~~~~~ 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, | ^~~~~~~~~~ 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, from /builddir/build/BUILD/dsms-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 [ 43%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/AioCompletion.cc.o 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 | ^~~~~~~~ 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: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] 1001 | for (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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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_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::bound_encode(const 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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/rgw/CMakeFiles/rgw_common.dir/rgw_putobj.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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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_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, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/AsyncOperation.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/rgw/CMakeFiles/rgw_common.dir/rgw_quota.cc.o 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 | ^~~~~~~~ [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/CopyupRequest.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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/FlushTracker.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_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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ImageDispatchSpec.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/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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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_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/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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ [ 44%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ImageRequest.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/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 | ^~~~~~~~ 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/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 | ^~~~~~~~ [ 44%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rados.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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/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 | ^~~~~~~~ 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/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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_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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, | ^~~~~~~~~~ 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 | ^~~~~~~~ [ 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::encode_nohead(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 src/rgw/CMakeFiles/rgw_common.dir/rgw_resolve.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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/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 | ^~~~~~~~ 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 44%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest.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_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, | ^~~~~~~~~~ /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(); | ^~~~~ 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, | ^~~~~~~~~~ [ 44%] Building CXX object src/kv/CMakeFiles/kv.dir/LevelDBStore.cc.o [ 45%] Building CXX object src/mds/CMakeFiles/mds.dir/InoTable.cc.o 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 | ^~~~~~~~ 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, | ^~~~~~~~~~ [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_client.cc.o [ 45%] Building CXX object src/mds/CMakeFiles/mds.dir/JournalPointer.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_conn.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/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 | ^~~~~~~~ [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_log.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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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 [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ObjectDispatch.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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 45%] 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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/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 [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ObjectDispatcher.cc.o 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 45%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_metadata.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: /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_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_otp.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::bound_encode(const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 45%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/ObjectRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 46%] 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::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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/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 [ 46%] 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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/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/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 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 [ 46%] 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_realm.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::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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/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( | ^~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~ [ 46%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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_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, | ^~~~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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/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/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 [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_s3.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/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 { | ^~~~~~~~ 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::bound_encode(const 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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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] 963 | for (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, 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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, | ^~~~~~~~~~ [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/io/SimpleSchedulerObjectDispatch.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ [ 46%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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_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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 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 [ 46%] 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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 46%] 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, 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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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/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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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::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/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; | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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_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 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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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 = {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 [ 46%] 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::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 = {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, 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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::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 [ 46%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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::bound_encode(const 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/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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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_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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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 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::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 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::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/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/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 | ^~~~~~~~ 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, | ^~~~~~~~~~ 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 /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: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/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, 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, 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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_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, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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) \ | ^~~~ [ 46%] 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_string.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 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, 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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/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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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/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 | ^~~~~~~~ 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/rgw/CMakeFiles/rgw_common.dir/rgw_tag.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/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 { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/mds/CMakeFiles/mds.dir/MDSTableServer.cc.o [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_tag_s3.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_tools.cc.o 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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 | ^~~~~~~~ [ 46%] 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::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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 46%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/PromoteRequest.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 /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 | ^~~~~~~~ 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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 [ 46%] 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::encode_nohead(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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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/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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 [ 46%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_xml.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 47%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_xml_enc.cc.o [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/RemoveRequest.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/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, 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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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, 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::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 [ 47%] 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 >; 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 /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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::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 [ 47%] 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 47%] Built target kv [ 47%] Building CXX object src/mon/CMakeFiles/mon.dir/__/auth/cephx/CephxKeyServer.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 { | ^~~~~~~~ [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/journal/Replay.cc.o 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/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/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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/rgw/CMakeFiles/rgw_common.dir/rgw_crypt.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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 47%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {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] 1001 | for (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, 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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 47%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_iam_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 >; 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 [ 47%] Building CXX object src/os/CMakeFiles/os.dir/ObjectStore.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 /builddir/build/BUILD/dsms-storage/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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/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/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 /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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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, 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 >; 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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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/denc.h: In instantiation of 'static void _denc::container_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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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, 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 /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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 47%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_user_policy.cc.o [ 47%] 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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, 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 [ 47%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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, 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 47%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_sts.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 | ^~~~~~~~ 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/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] 963 | for (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/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/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 >; 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::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 [ 47%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_rest_sts.cc.o [ 47%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/journal/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 /builddir/build/BUILD/dsms-storage/src/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 [ 47%] Building CXX object src/os/CMakeFiles/os.dir/filestore/chain_xattr.cc.o 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/encoding.h:41, from /builddir/build/BUILD/dsms-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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 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 >; 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 [ 47%] Building CXX object src/mds/CMakeFiles/mds.dir/DamageTable.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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: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, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 > > >; 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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 [ 47%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_perf_counters.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/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 47%] Building CXX object src/os/CMakeFiles/os.dir/filestore/BtrfsFileStoreBackend.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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 47%] Building CXX object src/os/CMakeFiles/os.dir/filestore/DBObjectMap.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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_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, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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] 1001 | for (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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 47%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 >; 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::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/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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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_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, | ^~~~~~~~~~ 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 /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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/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, 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 [ 47%] 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, 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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/GetLockerRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/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/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 | ^~~~~~~~ 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, | ^~~~~~~~~~ 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 47%] Building CXX object src/mds/CMakeFiles/mds.dir/SimpleLock.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/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::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 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/ReacquireRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::bound_encode(const 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/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 | ^~~~~~~~ [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/ReleaseRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {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 [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/managed_lock/Utils.cc.o 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ 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 >; 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: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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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] 1001 | for (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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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/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_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 47%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ 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/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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 47%] 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::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/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 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 | ^~~~~~~~ [ 47%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/DisableRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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/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/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::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 >, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 47%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_kms.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_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 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/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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 47%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: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/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::encode_nohead(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/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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::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/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/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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::bound_encode(const 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 [ 47%] 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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_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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 47%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 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 [ 47%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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: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 | ^~~~~~~~ [ 47%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_url.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 [ 47%] 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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, 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/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_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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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, from /builddir/build/BUILD/dsms-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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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 [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/GetInfoRequest.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, 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 48%] 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 [ 48%] 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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_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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 >; 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/GetStatusRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, 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 | ^~~~~~~~ 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, | ^~~~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/GetUuidRequest.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_rest_sts.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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_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 /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 | ^~~~~~~~ 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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 48%] Building CXX object src/rgw/CMakeFiles/rgw_common.dir/rgw_kafka.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/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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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/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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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_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, | ^~~~~~~~~~ [ 48%] Building CXX object src/mds/CMakeFiles/mds.dir/SnapServer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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_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 [ 48%] Building CXX object src/mds/CMakeFiles/mds.dir/SnapClient.cc.o [ 48%] Building CXX object src/mds/CMakeFiles/mds.dir/snap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 48%] Building CXX object src/mds/CMakeFiles/mds.dir/SessionMap.cc.o [ 48%] 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::bound_encode(const 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 48%] 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/os/CMakeFiles/os.dir/filestore/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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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 [ 48%] Building CXX object src/mds/CMakeFiles/mds.dir/MDLog.cc.o [ 48%] 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 | ^~~~~~~~ [ 48%] Building CXX object src/mds/CMakeFiles/mds.dir/Mantle.cc.o [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/ImageRemoveRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/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 | ^~~~~~~~ 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/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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_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, | ^~~~~~~~~~ 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/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 | ^~~~~~~~ [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/ImageStateUpdateRequest.cc.o 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/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 | ^~~~~~~~ [ 48%] 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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, 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 [ 48%] Building CXX object src/os/CMakeFiles/os.dir/filestore/FileStore.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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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/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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ [ 48%] 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::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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, 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_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/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 /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) { | ^ [ 48%] Building CXX object src/mds/CMakeFiles/mds.dir/Anchor.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, 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/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 | ^~~~~~~~ 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::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 [ 48%] 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, from /builddir/build/BUILD/dsms-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 [ 48%] Building CXX object src/mds/CMakeFiles/mds.dir/OpenFileTable.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/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/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:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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 src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/CreatePrimaryRequest.cc.o 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 48%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API 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/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, 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/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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 48%] 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::bound_encode(const 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/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 | ^~~~~~~~ [ 48%] Building CXX object src/mds/CMakeFiles/mds.dir/__/common/TrackedOp.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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 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/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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 48%] Linking CXX static library ../../lib/libclient.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, 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 48%] 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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 48%] Building CXX object src/mds/CMakeFiles/mds.dir/__/common/MemoryModel.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 48%] 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 >; 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/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 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 | ^~~~~~~~ [ 48%] Building CXX object src/mon/CMakeFiles/mon.dir/PaxosService.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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 > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/PromoteRequest.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_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 [ 48%] Built target client [ 48%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/SetImageStateRequest.cc.o [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/Types.cc.o [ 48%] Building CXX object src/mon/CMakeFiles/mon.dir/OSDMonitor.cc.o 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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {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/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/encoding.h:41, from /builddir/build/BUILD/dsms-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, 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 > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 48%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 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 > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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] [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/UnlinkPeerRequest.cc.o /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/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/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/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 | ^~~~~~~~ [ 48%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/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 | ^~~~~~~~ /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ [ 48%] Building CXX object src/os/CMakeFiles/os.dir/filestore/GenericFileStoreBackend.cc.o [ 49%] Building CXX object src/os/CMakeFiles/os.dir/filestore/JournalingObjectStore.cc.o [ 49%] 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::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/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/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 { | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 49%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 49%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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: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 | ^~~~~~~~ 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/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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 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 | ^~~~~~~~ [ 49%] Building CXX object src/mon/CMakeFiles/mon.dir/MgrMonitor.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 /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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::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/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; \ | ^~~ 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/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 /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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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/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/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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/mirror/snapshot/WriteImageStateRequest.cc.o 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 | ^~~~~~~~ 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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 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, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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: /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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 | ^~~~~~~~ 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/DiffRequest.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 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, | ^~~~~~~~~~ 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 | ^~~~~~~~ [ 49%] Building CXX object src/mon/CMakeFiles/mon.dir/MgrStatMonitor.cc.o [ 49%] Building CXX object src/mon/CMakeFiles/mon.dir/Monitor.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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/InvalidateRequest.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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::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/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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 49%] 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 >; Ts = {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::set, std::allocator >, std::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/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::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 /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::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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class 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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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 [ 49%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/RefreshRequest.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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 >; 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/RemoveRequest.cc.o [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/Request.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, 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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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_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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/ResizeRequest.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::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/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/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 = {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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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/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/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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/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 | ^~~~~~~~ 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 50%] 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, 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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/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 | ^~~~~~~~ [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/object_map/SnapshotRemoveRequest.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/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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 50%] 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 50%] 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 /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 | ^~~~~~~~ [ 50%] 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 [ 50%] Building CXX object src/os/CMakeFiles/os.dir/filestore/WBThrottle.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/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 | ^~~~~~~~ [ 50%] 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::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/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 | ^~~~~~~~ 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/denc.h: In instantiation of 'static void _denc::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 [ 50%] Building C object src/os/CMakeFiles/os.dir/filestore/os_xattr.c.o [ 50%] Building CXX object src/os/CMakeFiles/os.dir/memstore/MemStore.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 | ^~~~~~~~ [ 50%] Building CXX object src/os/CMakeFiles/os.dir/kstore/KStore.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/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 | ^~~~~~~~ [ 50%] Building CXX object src/os/CMakeFiles/os.dir/kstore/kstore_types.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, 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/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 | ^~~~~~~~ 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 [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/DisableFeaturesRequest.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/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 | ^~~~~~~~ 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/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/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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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, 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 | ^~~~~~~~ [ 50%] Building CXX object src/os/CMakeFiles/os.dir/fs/FS.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 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/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, | ^~~~~~~~~~ [ 50%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/Allocator.cc.o [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/EnableFeaturesRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/FlattenRequest.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/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 | ^~~~~~~~ [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/MetadataRemoveRequest.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/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 | ^~~~~~~~ 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, 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/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/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/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 { | ^~~~~~~~ [ 50%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BitmapFreelistManager.cc.o 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/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 | ^~~~~~~~ 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::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 50%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BlockDevice.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/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 = {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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 /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 /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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/MetadataSetRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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 | ^~~~~~~~ [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/MigrateRequest.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 | ^~~~~~~~ [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/ObjectMapIterate.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/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/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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 50%] Building CXX object src/mon/CMakeFiles/mon.dir/MonmapMonitor.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/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 | ^~~~~~~~ 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/RebuildObjectMapRequest.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/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 | ^~~~~~~~ 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/RenameRequest.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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::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/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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/Request.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::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 = {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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/ResizeRequest.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, 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 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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::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 [ 50%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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] 1001 | for (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/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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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/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/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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::set, std::allocator >, std::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] 1001 | for (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, 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: /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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 50%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, 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 | ^~~~~~~~ [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotRemoveRequest.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 50%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/SnapshotRenameRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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/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 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::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/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::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/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 [ 51%] 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 > > >; Ts = {unsigned int, std::set, std::allocator >, std::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 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::bound_encode(const container&, size_t&, uint64_t) [with 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::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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/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 | ^~~~~~~~ [ 51%] 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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 src/librbd/CMakeFiles/rbd_internal.dir/operation/SparsifyRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 51%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/bluefs_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, 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/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 | ^~~~~~~~ [ 51%] 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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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 [ 51%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BlueStore.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 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: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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 | ^~~~~~~~ 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, | ^~~~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/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/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, 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 [ 51%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/operation/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 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 51%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/trash/MoveRequest.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 [ 51%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/trash/RemoveRequest.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 51%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/os/CMakeFiles/os.dir/bluestore/fastbmap_allocator_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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 | ^~~~~~~~ [ 51%] 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 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/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: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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 51%] Building CXX object src/mon/CMakeFiles/mon.dir/LogMonitor.cc.o 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, 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 [ 51%] Building CXX object src/librbd/CMakeFiles/rbd_internal.dir/watcher/RewatchRequest.cc.o [ 51%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/FreelistManager.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 | ^~~~~~~~ [ 51%] 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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/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/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: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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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 | ^~~~~~~~ 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 >; 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] 963 | for (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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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] 1001 | for (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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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_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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 51%] Building CXX object src/mon/CMakeFiles/mon.dir/AuthMonitor.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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/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/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 >; 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 [ 51%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/StupidAllocator.cc.o 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 | ^~~~~~~~ [ 51%] Building CXX object src/mon/CMakeFiles/mon.dir/ConfigMap.cc.o [ 51%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/BitmapAllocator.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/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; 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/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/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) \ | ^~~~ 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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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 [ 51%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/AvlAllocator.cc.o 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/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 | ^~~~~~~~ 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 >; 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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/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 /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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 { | ^~~~~~~~ In file included from /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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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, 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 [ 52%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/HybridAllocator.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, 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 >; 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 = {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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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::encode_nohead(const 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/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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 = {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: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka '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, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 [ 52%] Building CXX object src/mon/CMakeFiles/mon.dir/ConfigMonitor.cc.o [ 52%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/io_uring.cc.o [ 52%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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/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 | ^~~~~~~~ [ 52%] Building CXX object src/mon/CMakeFiles/mon.dir/ElectionLogic.cc.o 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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/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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 53%] 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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, 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 [ 53%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/KernelDevice.cc.o [ 53%] Building CXX object src/os/CMakeFiles/os.dir/bluestore/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, 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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::bound_encode(const container&, size_t&, uint64_t) [with 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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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, 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:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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] 963 | for (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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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::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, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::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/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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 | ^~~~~~~~ [ 53%] Building CXX object src/os/CMakeFiles/os.dir/FuseStore.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 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 { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /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/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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 53%] Building CXX object src/os/CMakeFiles/os.dir/filestore/XfsFileStoreBackend.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::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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 = {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 = {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, 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 >; 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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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/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) \ | ^~~~ [ 53%] Building CXX object src/os/CMakeFiles/os.dir/fs/XFS.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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%] Building CXX object src/mon/CMakeFiles/mon.dir/ConfigKeyService.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::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::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/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/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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {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/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, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::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 = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, from /builddir/build/BUILD/dsms-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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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 >, 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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] 1001 | for (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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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/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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 53%] Building CXX object src/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::encode_nohead(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 = {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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 53%] Building CXX object src/mon/CMakeFiles/mon.dir/__/mgr/mgr_commands.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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 = {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, 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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 [ 53%] Building CXX object src/mon/CMakeFiles/mon.dir/__/osd/OSDCap.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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: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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 = {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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, 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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 = {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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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] 1001 | for (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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::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 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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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 >, 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 = {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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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] 1001 | for (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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 > > >; 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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, 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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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::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::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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/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::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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/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 >; 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] 1001 | for (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/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, 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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] 1001 | for (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 = {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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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, 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 = {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 = {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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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, 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 > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 = {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] 1001 | for (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 > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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, 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, 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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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, 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::encode_nohead(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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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::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, 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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, 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/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 > >, 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, 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/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::encode_nohead(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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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::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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 /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 | ^~~~~~~~ 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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, 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, 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/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 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/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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, 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::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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 = {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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, 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/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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 = {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 > >, 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 >; 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::__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 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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, 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/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, 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, 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 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::encode_nohead(const container&, ceph::buffer::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, 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 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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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 | ^~~~~~~~ /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ /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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::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::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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, 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 = {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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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/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, | ^~~~~~~~~~ [ 53%] Linking CXX static library ../../lib/librbd_internal.a 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/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 | ^~~~~~~~ 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/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 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, 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 = {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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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::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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::set, std::allocator >, std::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 >; 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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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::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::__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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {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, 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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::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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::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:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; 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, 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, 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, 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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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] 1001 | for (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; 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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, 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 /builddir/build/BUILD/dsms-storage/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::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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::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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::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, 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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, 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, 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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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, 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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 [ 53%] 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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, 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 [ 53%] Built target rbd_internal 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: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 '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 '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]); | ^~~~~~~~~~~~~~~ [ 53%] Linking CXX static library ../../lib/libmds.a 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)); } | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 53%] Built target mds [ 53%] Linking CXX static library ../../lib/libos.a [ 53%] Built target common-common-objs [ 53%] Linking CXX shared library ../lib/libceph-common.so [ 53%] Linking CXX static library ../lib/libcommon.a [ 53%] Built target os [ 53%] Building CXX object src/osd/CMakeFiles/osd.dir/ClassHandler.cc.o [ 53%] Building CXX object src/osd/CMakeFiles/osd.dir/OSD.cc.o [ 53%] Building CXX object src/osd/CMakeFiles/osd.dir/Watch.cc.o [ 53%] Building CXX object src/osd/CMakeFiles/osd.dir/PGLog.cc.o [ 53%] Building CXX object src/osd/CMakeFiles/osd.dir/PrimaryLogPG.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/Session.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/PGBackend.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/ECBackend.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/ECTransaction.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/ReplicatedBackend.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/PG.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/SnapMapper.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/osd_types.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/OSDCap.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/PGStateUtils.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/scheduler/mClockScheduler.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/PeeringState.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/ScrubStore.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/ECUtil.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/ExtentCache.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/scheduler/OpScheduler.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/scheduler/OpSchedulerItem.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/MissingLoc.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/osd_perf_counters.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/__/osdc/Striper.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/__/common/TrackedOp.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/__/mgr/OSDPerfMetricTypes.cc.o [ 54%] Building CXX object src/osd/CMakeFiles/osd.dir/__/osdc/Objecter.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/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 /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/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/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/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/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/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/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 /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/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/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 | ^~~~~~~~ /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/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/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 | ^~~~~~~~ [ 54%] Linking CXX static library ../../lib/libmon.a 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/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/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/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 | ^~~~~~~~ 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/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 | ^~~~~~~~ [ 54%] Built target ceph-common [ 54%] Building CXX object src/test/CMakeFiles/ceph_test_get_blkdev_props.dir/test_get_blkdev_props.cc.o [ 54%] Building CXX object src/librados/CMakeFiles/librados.dir/librados_c.cc.o [ 54%] Building CXX object src/librados/CMakeFiles/librados.dir/librados_cxx.cc.o [ 54%] Building CXX object src/CMakeFiles/cephfs.dir/libcephfs.cc.o [ 54%] Building CXX object src/test/librados/CMakeFiles/radostest-cxx.dir/testcase_cxx.cc.o [ 54%] Building CXX object src/test/CMakeFiles/ceph_test_rewrite_latency.dir/test_rewrite_latency.cc.o [ 54%] Linking CXX static library ../../lib/libglobal.a [ 54%] Building CXX object src/test/CMakeFiles/test_crypto.dir/testcrypto.cc.o [ 54%] Building CXX object src/test/CMakeFiles/test_build_libcommon.dir/buildtest_skeleton.cc.o [ 54%] Building CXX object src/test/librados/CMakeFiles/radostest-cxx.dir/test_cxx.cc.o [ 54%] Building CXX object src/test/CMakeFiles/ceph_test_cfuse_cache_invalidate.dir/test_cfuse_cache_invalidate.cc.o [ 54%] Building CXX object src/test/CMakeFiles/ceph_test_admin_socket_output.dir/test_admin_socket_output.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_encoding.dir/encoding.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_addrs.dir/test_addrs.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_confutils.dir/confutils.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_utime.dir/test_utime.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_on_exit.dir/on_exit.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_xlist.dir/test_xlist.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_mime.dir/mime.cc.o [ 54%] Building CXX object src/test/common/CMakeFiles/unittest_lockdep.dir/test_lockdep.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_strtol.dir/strtol.cc.o [ 54%] Building CXX object src/test/CMakeFiles/ceph_test_admin_socket_output.dir/admin_socket_output.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_escape.dir/escape.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_subprocess.dir/test_subprocess.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_texttable.dir/test_texttable.cc.o [ 54%] Building CXX object src/test/common/CMakeFiles/unittest_bloom_filter.dir/test_bloom_filter.cc.o [ 54%] Building CXX object src/test/common/CMakeFiles/unittest_histogram.dir/histogram.cc.o [ 54%] Building CXX object src/test/common/CMakeFiles/unittest_intrusive_lru.dir/test_intrusive_lru.cc.o [ 54%] Building CXX object src/test/CMakeFiles/unittest_pageset.dir/test_pageset.cc.o [ 54%] Building CXX object src/test/common/CMakeFiles/unittest_lru.dir/test_lru.cc.o [ 54%] Building CXX object src/test/common/CMakeFiles/unittest_mclock_priority_queue.dir/test_mclock_priority_queue.cc.o [ 54%] Building CXX object src/test/common/CMakeFiles/unittest_numa.dir/test_numa.cc.o [ 55%] Building CXX object src/test/common/CMakeFiles/unittest_str_map.dir/test_str_map.cc.o [ 55%] Building CXX object src/test/common/CMakeFiles/unittest_prioritized_queue.dir/test_prioritized_queue.cc.o [ 55%] Building CXX object src/test/common/CMakeFiles/unittest_crc32c.dir/test_crc32c.cc.o [ 55%] Building CXX object src/test/common/CMakeFiles/unittest_time.dir/test_time.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_context.dir/test_context.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_config.dir/test_config.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_readahead.dir/Readahead.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_tableformatter.dir/test_tableformatter.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_url_escape.dir/test_url_escape.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_xmlformatter.dir/test_xmlformatter.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_safe_io.dir/test_safe_io.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_mutex_debug.dir/test_mutex_debug.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_bit_vector.dir/test_bit_vector.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_interval_map.dir/test_interval_map.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_shunique_lock.dir/test_shunique_lock.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_perf_histogram.dir/test_perf_histogram.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_weighted_priority_queue.dir/test_weighted_priority_queue.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_interval_set.dir/test_interval_set.cc.o [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_counter.dir/test_counter.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 | ^~~~~~~~ [ 56%] Linking CXX executable ../../bin/test_build_libcommon 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/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 | ^~~~~~~~ [ 56%] Linking CXX executable ../../bin/ceph_test_cfuse_cache_invalidate 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 | ^~~~~~~~ [ 56%] Built target test_build_libcommon [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_config.dir/test_hostname.cc.o [ 56%] Built target global 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 | ^~~~~~~~ [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_time.dir/__/__/common/ceph_time.cc.o [ 56%] Linking CXX executable ../../bin/unittest_on_exit /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 56%] Built target ceph_test_cfuse_cache_invalidate [ 56%] Building CXX object src/test/CMakeFiles/ceph_test_admin_socket_output.dir/admin_socket_output_tests.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/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 | ^~~~~~~~ [ 56%] Built target unittest_on_exit [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_back_trace.dir/test_back_trace.cc.o 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 | ^~~~~~~~ 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/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/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 [ 56%] Linking CXX executable ../../../bin/unittest_url_escape 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) \ | ^~~~ [ 56%] Linking CXX executable ../../../bin/unittest_safe_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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 56%] Linking CXX executable ../../../bin/unittest_counter [ 56%] Built target 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::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_hostname.dir/test_hostname.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 [ 56%] Built target unittest_safe_io [ 56%] Linking CXX executable ../../../bin/unittest_numa /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_iso_8601.dir/test_iso_8601.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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::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/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/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../bin/unittest_xlist /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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%] Building CXX object src/test/common/CMakeFiles/unittest_bounded_key_counter.dir/test_bounded_key_counter.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../../bin/unittest_xmlformatter [ 56%] Built target unittest_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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_hobject.dir/test_hobject.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 [ 56%] Built target unittest_numa /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 56%] Building CXX object src/test/common/CMakeFiles/unittest_async_shared_mutex.dir/test_async_shared_mutex.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 56%] Linking CXX executable ../../../bin/unittest_tableformatter [ 56%] Linking CXX executable ../../bin/unittest_mime 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 | ^~~~~~~~ [ 56%] Built target unittest_xlist /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 56%] 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::encode_nohead(const 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 [ 56%] Built target unittest_xmlformatter [ 56%] Linking CXX executable ../../bin/unittest_texttable /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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%] Building CXX object src/test/compressor/CMakeFiles/unittest_compression.dir/test_compression.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../bin/unittest_escape /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 56%] Linking CXX executable ../../../bin/unittest_str_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::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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 [ 56%] Linking CXX executable ../../../bin/unittest_intrusive_lru 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 | ^~~~~~~~ [ 56%] Built target unittest_tableformatter [ 56%] Built target unittest_mime [ 56%] Building CXX object src/test/crush/CMakeFiles/unittest_crush_wrapper.dir/CrushWrapper.cc.o [ 56%] Building CXX object src/test/crush/CMakeFiles/unittest_crush.dir/crush.cc.o [ 56%] Building CXX object src/test/erasure-code/CMakeFiles/ceph_erasure_code_benchmark.dir/__/__/erasure-code/ErasureCode.cc.o [ 56%] Built target unittest_texttable [ 56%] Building CXX object src/test/erasure-code/CMakeFiles/ceph_erasure_code_benchmark.dir/ceph_erasure_code_benchmark.cc.o [ 56%] Built target unittest_escape [ 56%] Building CXX object src/test/erasure-code/CMakeFiles/ceph_erasure_code_non_regression.dir/ceph_erasure_code_non_regression.cc.o 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 [ 56%] Built target unittest_intrusive_lru [ 56%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin.dir/__/__/erasure-code/ErasureCode.cc.o [ 56%] Built target unittest_str_map [ 56%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::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 ()); | ~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 56%] Linking CXX executable ../../bin/ceph_test_get_blkdev_props [ 57%] Linking CXX executable ../../../bin/unittest_hostname [ 57%] Linking CXX executable ../../../bin/unittest_mutex_debug 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 | ^~~~~~~~ [ 57%] Linking CXX executable ../../bin/ceph_test_rewrite_latency [ 57%] Linking CXX executable ../../../bin/unittest_prioritized_queue [ 57%] Built target ceph_test_get_blkdev_props [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code.dir/__/__/erasure-code/ErasureCode.cc.o [ 57%] Linking CXX executable ../../../bin/unittest_perf_histogram 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 | ^~~~~~~~ [ 57%] Linking CXX executable ../../bin/unittest_subprocess [ 57%] Linking CXX executable ../../../bin/unittest_weighted_priority_queue [ 57%] Built target ceph_test_rewrite_latency [ 57%] Linking CXX executable ../../../bin/unittest_iso_8601 [ 57%] Built target unittest_hostname [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_jerasure.dir/TestErasureCodePluginJerasure.cc.o [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_isa.dir/__/__/erasure-code/ErasureCode.cc.o [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_isa.dir/TestErasureCodeIsa.cc.o [ 57%] Built target unittest_mutex_debug [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_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/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) \ | ^~~~ [ 57%] Built target unittest_prioritized_queue [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_isa.dir/TestErasureCodePluginIsa.cc.o [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code.dir/TestErasureCode.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 [ 57%] Built target unittest_perf_histogram 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; | ^~ [ 57%] Built target unittest_subprocess [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_lrc.dir/TestErasureCodeLrc.cc.o [ 57%] Built target unittest_iso_8601 [ 57%] Built target unittest_weighted_priority_queue [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_lrc.dir/TestErasureCodePluginLrc.cc.o [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_shec.dir/TestErasureCodePluginShec.cc.o 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; | ^~ [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_example.dir/__/__/erasure-code/ErasureCode.cc.o 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; | ^~ 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 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; | ^~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_example.dir/TestErasureCodeExample.cc.o [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_jerasure.dir/TestErasureCodeJerasure.cc.o [ 57%] Linking CXX executable ../../../bin/unittest_crc32c 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 | ^~~~~~~~ [ 57%] Linking CXX executable ../../bin/unittest_pageset 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 | ^~~~~~~~ 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/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/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) \ | ^~~~ [ 57%] Linking CXX executable ../../../bin/unittest_histogram [ 57%] Built target unittest_pageset [ 57%] Built target unittest_crc32c [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_shec.dir/TestErasureCodeShec.cc.o [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_shec_all.dir/TestErasureCodeShec_all.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) \ | ^~~~ 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) \ | ^~~~ [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_shec_thread.dir/TestErasureCodeShec_thread.cc.o [ 57%] Built target unittest_histogram [ 57%] 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::bound_encode(const container&, 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/encoding.h:41, from /builddir/build/BUILD/dsms-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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 57%] Linking CXX executable ../../bin/unittest_encoding /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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 [ 57%] Linking CXX executable ../../bin/unittest_addrs In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 57%] Linking CXX executable ../../../bin/unittest_lru /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 >; 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 = {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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 [ 57%] Built target 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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 [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_clay.dir/TestErasureCodeClay.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 [ 57%] Linking CXX executable ../../../bin/unittest_shunique_lock /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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 [ 57%] Linking CXX executable ../../../bin/unittest_interval_map [ 57%] Built target unittest_lru [ 57%] Built target unittest_addrs [ 57%] Building CXX object src/test/erasure-code/CMakeFiles/unittest_erasure_code_plugin_clay.dir/TestErasureCodePluginClay.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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 [ 57%] 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, 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 57%] Linking CXX executable ../../../bin/unittest_time /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 = {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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 57%] Linking CXX executable ../../../bin/unittest_bit_vector [ 57%] 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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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 [ 57%] Built target unittest_shunique_lock /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 57%] Building CXX object src/test/fs/CMakeFiles/unittest_mds_types.dir/mds_types.cc.o [ 57%] 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 >; 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/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) \ | ^~~~ [ 57%] Building CXX object src/test/librados/CMakeFiles/radostest.dir/test_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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 57%] Built target unittest_time [ 57%] Building CXX object src/test/librados/CMakeFiles/radostest.dir/TestCase.cc.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/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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 57%] Linking CXX executable ../../bin/test_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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 57%] Linking CXX executable ../../../bin/unittest_rabin_chunk [ 57%] 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Built target unittest_bit_vector [ 57%] 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, 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 [ 57%] Linking CXX executable ../../../bin/unittest_bloom_filter /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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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 [ 57%] Built target unittest_hobject [ 57%] Building CXX object src/test/mds/CMakeFiles/unittest_mds_authcap.dir/TestMDSAuthCaps.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 57%] Linking CXX executable ../../../bin/unittest_lockdep [ 57%] Built target test_crypto [ 57%] Linking CXX static library ../../../lib/libradostest-cxx.a [ 57%] Building CXX object src/test/mds/CMakeFiles/unittest_mds_sessionfilter.dir/TestSessionFilter.cc.o 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) \ | ^~~~ 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 [ 57%] Linking CXX executable ../../bin/unittest_utime /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 57%] Built target unittest_bloom_filter 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) \ | ^~~~ [ 57%] Built target unittest_rabin_chunk [ 57%] Built target unittest_bounded_key_counter [ 57%] Building CXX object src/test/mon/CMakeFiles/ceph_test_mon_workloadgen.dir/test_mon_workloadgen.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 [ 57%] Building CXX object src/test/mon/CMakeFiles/ceph_test_mon_msg.dir/test-mon-msg.cc.o [ 57%] Building CXX object src/test/mgr/CMakeFiles/unittest_mgr_mgrcap.dir/test_mgrcap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 [ 57%] 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 57%] Building CXX object src/test/msgr/CMakeFiles/ceph_test_async_driver.dir/test_async_driver.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/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) \ | ^~~~ [ 57%] Linking CXX executable ../../../bin/unittest_readahead [ 57%] Building CXX object src/test/msgr/CMakeFiles/ceph_test_msgr.dir/test_msgr.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 [ 57%] Built target radostest-cxx /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 57%] Building CXX object src/test/msgr/CMakeFiles/ceph_test_async_networkstack.dir/test_async_networkstack.cc.o [ 57%] Built target unittest_utime [ 57%] Building CXX object src/test/msgr/CMakeFiles/ceph_perf_msgr_server.dir/perf_msgr_server.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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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/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 | ^~~~~~~~ [ 57%] Linking CXX executable ../../../bin/unittest_mclock_priority_queue In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 57%] Built target unittest_readahead [ 57%] Building CXX object src/test/msgr/CMakeFiles/ceph_perf_msgr_client.dir/perf_msgr_client.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 [ 57%] Built target unittest_mclock_priority_queue [ 57%] 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, 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 57%] Built target mon [ 57%] Building CXX object src/test/ObjectMap/CMakeFiles/ceph_test_object_map.dir/test_object_map.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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 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 | ^~~~~~~~ [ 58%] Building CXX object src/test/ObjectMap/CMakeFiles/ceph_test_object_map.dir/KeyValueDBMemory.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 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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::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 [ 58%] 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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%] Built target common /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 58%] 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::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/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/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) \ | ^~~~ [ 58%] 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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.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; 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/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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 58%] Built target 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {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 [ 58%] Building CXX object src/test/objectstore/CMakeFiles/ceph_perf_objectstore.dir/ObjectStoreTransactionBenchmark.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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 = {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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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/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) \ | ^~~~ [ 58%] Linking CXX executable ../../../bin/unittest_context /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 58%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_objectstore.dir/store_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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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 [ 58%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 58%] Building CXX object src/test/ObjectMap/CMakeFiles/ceph_test_keyvaluedb_iterators.dir/KeyValueDBMemory.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 | ^~~~~~~~ [ 58%] Linking CXX executable ../../../bin/unittest_erasure_code_plugin_lrc 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 > >, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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] [ 58%] Built target unittest_context /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 58%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent.dir/test_idempotent.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/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 > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 58%] 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, 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] 963 | for (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::encode_nohead(const 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: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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 | ^~~~~~~~ [ 58%] 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::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/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 [ 58%] 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 > >, 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 [ 58%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent_sequence.dir/test_idempotent_sequence.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/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 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 > >, 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 [ 58%] Linking CXX executable ../../bin/unittest_confutils /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 = {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%] Linking CXX executable ../../../bin/unittest_back_trace [ 58%] Built target 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 58%] Building CXX object src/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::encode_nohead(const container&, ceph::buffer::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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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] 1001 | for (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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 58%] Linking CXX executable ../../../bin/unittest_erasure_code_plugin_jerasure /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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_confutils /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 58%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent.dir/__/common/ObjectContents.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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, 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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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 [ 58%] Built target unittest_back_trace [ 58%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 58%] Linking CXX executable ../../../bin/unittest_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/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, 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Built target unittest_erasure_code_plugin_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 > >, 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 [ 58%] 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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 = {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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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::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 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 [ 58%] Built target unittest_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 = {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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 58%] Building CXX object src/test/objectstore/CMakeFiles/unittest_alloc.dir/Allocator_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::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 58%] Linking CXX executable ../../bin/ceph_test_admin_socket_output 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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 /builddir/build/BUILD/dsms-storage/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 [ 58%] Building CXX object src/test/objectstore/CMakeFiles/unittest_alloc_bench.dir/Allocator_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 58%] Building CXX object src/test/objectstore/CMakeFiles/unittest_fastbmap_allocator.dir/fastbmap_allocator_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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 58%] Built target ceph_test_admin_socket_output /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 58%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent_sequence.dir/TestObjectStoreState.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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::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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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] 1001 | for (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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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 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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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/include/denc.h: In instantiation of 'static void _denc::container_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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 58%] Building CXX object src/test/objectstore/CMakeFiles/ceph_test_filestore_idempotent_sequence.dir/FileStoreDiff.cc.o [ 58%] Building CXX object src/test/objectstore/CMakeFiles/unittest_hybrid_allocator.dir/hybrid_allocator_test.cc.o [ 58%] Linking CXX executable ../../../bin/unittest_async_shared_mutex /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 58%] Built target unittest_async_shared_mutex /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 58%] Building CXX object src/test/objectstore/CMakeFiles/unittest_bluefs.dir/test_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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ 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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 58%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 58%] Building CXX object src/test/objectstore/CMakeFiles/unittest_bluestore_types.dir/test_bluestore_types.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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::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 | ^~~~~~~~ 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 | ^~~~~~~~ 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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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 >; 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/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/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 58%] Linking CXX static library ../../../lib/libradostest.a [ 58%] 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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 58%] Linking CXX executable ../../../bin/ceph_erasure_code_non_regression /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 58%] Built target unittest_erasure_code_plugin_clay [ 58%] Built target radostest [ 58%] Building CXX object src/test/objectstore/CMakeFiles/unittest_bdev.dir/test_bdev.cc.o [ 58%] Building CXX object src/test/objectstore/CMakeFiles/unittest_transaction.dir/test_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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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/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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 58%] Building CXX object src/test/objectstore/CMakeFiles/unittest_memstore_clone.dir/test_memstore_clone.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 58%] Built target ceph_erasure_code_non_regression [ 58%] 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 58%] 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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) \ | ^~~~ 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/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) \ | ^~~~ 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 59%] Linking CXX executable ../../../bin/unittest_mgr_mgrcap /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 59%] Built target ceph_erasure_code_benchmark [ 59%] Building CXX object src/test/os/CMakeFiles/unittest_lfnindex.dir/TestLFNIndex.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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 60%] 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 [ 60%] Linking CXX executable ../../../bin/unittest_erasure_code In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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_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 > >, 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/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 [ 60%] Built target unittest_mgr_mgrcap /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/osd/CMakeFiles/unittest_osdmap.dir/TestOSDMap.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/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/denc.h: In instantiation of 'static void _denc::container_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, 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/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 61%] Built target unittest_erasure_code_plugin /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 = {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%] Building CXX object src/test/osd/CMakeFiles/unittest_osd_types.dir/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 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 = {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/osdc/CMakeFiles/ceph_test_objectcacher_stress.dir/object_cacher_stress.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: /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::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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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_erasure_code /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/rgw/CMakeFiles/unittest_rgw_dmclock_scheduler.dir/test_rgw_dmclock_scheduler.cc.o [ 61%] Building C object src/mount/CMakeFiles/mount.ceph.dir/mount.ceph.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 [ 61%] Linking CXX executable ../../../bin/unittest_erasure_code_plugin_isa [ 61%] Linking CXX executable ../../../bin/unittest_mds_authcap 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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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/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 | ^~~~~~~~ [ 61%] Building CXX object src/mount/CMakeFiles/mount.ceph.dir/conf.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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, from /builddir/build/BUILD/dsms-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 [ 61%] Linking CXX static library ../../lib/libglobal-static.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, 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::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/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/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::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/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, 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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%] Built target global-static [ 61%] Building CXX object src/os/CMakeFiles/ceph-bluestore-tool.dir/bluestore/bluestore_tool.cc.o [ 62%] Building CXX object src/tools/CMakeFiles/ceph-osdomap-tool.dir/ceph_osdomap_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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 62%] Built target unittest_erasure_code_plugin_isa [ 62%] Building CXX object src/test/osdc/CMakeFiles/ceph_test_objectcacher_stress.dir/FakeWriteback.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/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 [ 62%] Linking CXX executable ../../../bin/unittest_erasure_code_isa /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 62%] Built target unittest_mds_authcap 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 src/test/osdc/CMakeFiles/ceph_test_objectcacher_stress.dir/MemWriteback.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 62%] Built target unittest_erasure_code_isa [ 62%] Building CXX object src/tools/CMakeFiles/ceph-monstore-tool.dir/ceph_monstore_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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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/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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 = {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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 62%] Linking CXX executable ../../../bin/unittest_crush /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 62%] Built target ceph_test_keyvaluedb_atomicity /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 62%] Building CXX object src/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 >; 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 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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 | ^~~~~~~~ [ 62%] Linking CXX executable ../../../bin/unittest_erasure_code_shec_thread 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 62%] Built target unittest_crush /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 62%] Building CXX object src/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 62%] Linking CXX executable ../../../bin/ceph_test_async_driver In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 62%] Built target 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 62%] Building CXX object src/tools/CMakeFiles/crushtool.dir/crushtool.cc.o 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/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 /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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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] 1001 | for (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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 [ 62%] Built target ceph_test_async_driver [ 62%] Building CXX object src/tools/CMakeFiles/monmaptool.dir/monmaptool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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/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/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/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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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) \ | ^~~~ 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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 [ 62%] Building CXX object src/tools/CMakeFiles/osdmaptool.dir/osdmaptool.cc.o [ 63%] Building CXX object src/tools/CMakeFiles/ceph_psim.dir/psim.cc.o 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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, 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 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::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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, 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 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/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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 [ 63%] 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::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] 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::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, 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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, 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 [ 63%] 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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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 = {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::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/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 | ^~~~~~~~ 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/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 > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 63%] Built target ceph_perf_msgr_server [ 63%] Building CXX object src/tools/CMakeFiles/ceph-kvstore-tool.dir/ceph_kvstore_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, 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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/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/denc.h: In instantiation of 'static void _denc::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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/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::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, 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 [ 63%] Built target unittest_erasure_code_clay [ 63%] Building CXX object src/tools/CMakeFiles/ceph-authtool.dir/ceph_authtool.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::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: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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 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 | ^~~~~~~~ [ 63%] 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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 | ^~~~~~~~ [ 63%] Building CXX object src/tools/erasure-code/CMakeFiles/ceph-erasure-code-tool.dir/__/__/osd/ECUtil.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/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/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 63%] Linking CXX executable ../../../bin/ceph_test_async_networkstack /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 63%] Linking CXX executable ../../../bin/unittest_frames_v2 [ 63%] 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] 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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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::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/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 /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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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 [ 63%] Linking CXX executable ../../../bin/unittest_erasure_code_lrc [ 63%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 = {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/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%] Built target ceph_test_async_networkstack /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/CMakeFiles/ceph_test_signal_handlers.dir/TestSignalHandlers.cc.o [ 63%] Built target unittest_mds_types [ 63%] Building CXX object src/tools/CMakeFiles/ceph-monstore-tool.dir/__/mgr/mgr_commands.cc.o [ 63%] Built target 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 63%] Building CXX object src/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::encode_nohead(const 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/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: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 file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage/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: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 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))); | ^ [ 63%] 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/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) \ | ^~~~ [ 63%] Built target unittest_erasure_code_lrc [ 63%] Built target 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 > >, 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%] Building CXX object src/test/CMakeFiles/test_trans.dir/test_trans.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 63%] 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::encode_nohead(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/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 [ 63%] Linking CXX executable ../../../bin/unittest_bdev 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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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, 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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 [ 63%] Linking CXX executable ../../../bin/ceph_perf_msgr_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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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::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::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/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::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/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, 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 63%] Built target unittest_bdev /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 | ^~~~~~~~ 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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::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 [ 63%] 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 >; 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 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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 [ 63%] 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 = {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 [ 63%] Built target ceph_perf_msgr_client 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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 63%] Building CXX object src/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 63%] Linking CXX executable ../../../bin/unittest_chain_xattr In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 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 | ^~~~~~~~ [ 63%] 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] 1001 | for (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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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 [ 63%] 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 63%] Built target unittest_erasure_code_shec_arguments 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::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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 [ 63%] Building CXX object src/test/CMakeFiles/ceph_test_keys.dir/testkeys.cc.o [ 63%] Linking CXX executable ../../../bin/unittest_compression [ 63%] Built target unittest_chain_xattr [ 63%] Building CXX object src/tools/erasure-code/CMakeFiles/ceph-erasure-code-tool.dir/ceph-erasure-code-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 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 63%] Built target 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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 63%] Building CXX object src/test/CMakeFiles/unittest_admin_socket.dir/admin_socket.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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, 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 [ 63%] Linking CXX executable ../../../bin/unittest_hybrid_allocator 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) \ | ^~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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_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 > >; 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 [ 65%] 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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 65%] Building CXX object src/test/CMakeFiles/unittest_workqueue.dir/test_workqueue.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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 65%] Built target unittest_compression /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 65%] Building CXX object src/test/CMakeFiles/unittest_striper.dir/test_striper.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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 65%] Building CXX object src/test/CMakeFiles/unittest_str_list.dir/test_str_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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 | ^~~~~~~~ [ 65%] Built target 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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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 [ 65%] Building CXX object src/test/CMakeFiles/ceph_perf_local.dir/perf_helper.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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 65%] Built target 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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, 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 [ 65%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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(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::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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/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 | ^~~~~~~~ [ 65%] Linking CXX executable ../../../bin/unittest_alloc_bench /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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 [ 65%] Linking CXX executable ../../../bin/unittest_alloc 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/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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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 | ^~~~~~~~ [ 65%] Building CXX object src/test/CMakeFiles/unittest_ceph_argparse.dir/ceph_argparse.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, 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ [ 65%] Building CXX object src/test/CMakeFiles/unittest_ceph_compatset.dir/ceph_compatset.cc.o [ 65%] 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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 65%] Linking CXX executable ../../../bin/ceph_test_mon_msg 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 | ^~~~~~~~ [ 65%] 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Built target unittest_alloc /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 66%] Building CXX object src/test/CMakeFiles/unittest_run_cmd.dir/run_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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/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/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/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 [ 66%] Built target 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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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%] Building CXX object src/test/CMakeFiles/unittest_signals.dir/signals.cc.o [ 66%] Linking CXX executable ../../bin/mount.ceph [ 66%] 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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%] Built target 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 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/encoding.h:41, from /builddir/build/BUILD/dsms-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) { | ^ [ 66%] Building CXX object src/test/CMakeFiles/unittest_simple_spin.dir/simple_spin.cc.o /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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, 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 [ 66%] Built target mount.ceph [ 66%] Building CXX object src/test/CMakeFiles/unittest_bufferlist.dir/bufferlist.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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/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 > > >, 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 [ 66%] Linking CXX executable ../../../bin/ceph_perf_objectstore /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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%] Linking CXX executable ../../../bin/ceph_test_keyvaluedb [ 66%] Linking CXX shared library ../lib/libcephfs.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, 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 >; 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 66%] Built target ceph_perf_objectstore /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 66%] Building CXX object src/test/CMakeFiles/compiletest_cxx11_client.dir/cxx11_client.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 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]); | ^ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/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 | ^~~~~~~~ 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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 66%] Building CXX object src/test/CMakeFiles/unittest_arch.dir/test_arch.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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 66%] Building CXX object src/test/CMakeFiles/unittest_denc.dir/test_denc.cc.o [ 66%] Building CXX object src/test/CMakeFiles/unittest_mempool.dir/test_mempool.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 [ 66%] Linking CXX executable ../../bin/compiletest_cxx11_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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/test/CMakeFiles/unittest_features.dir/test_features.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 | ^~~~~~~~ [ 66%] Built target cephfs In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 66%] Building CXX object src/test/CMakeFiles/unittest_crypto.dir/crypto.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::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 66%] Built target 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/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 [ 66%] Building CXX object src/test/CMakeFiles/unittest_crypto_init.dir/crypto_init.cc.o [ 66%] Building CXX object src/test/CMakeFiles/unittest_perf_counters.dir/perf_counters.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /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); | ^ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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 [ 66%] Linking CXX executable ../../../bin/unittest_rgw_dmclock_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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 66%] Building CXX object src/test/CMakeFiles/unittest_ceph_crypto.dir/ceph_crypto.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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 66%] Building CXX object src/test/CMakeFiles/unittest_utf8.dir/utf8.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 66%] Linking CXX executable ../../../bin/unittest_bluefs 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 | ^~~~~~~~ [ 66%] Linking CXX executable ../../bin/unittest_str_list /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Linking CXX executable ../../bin/ceph-authtool 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::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(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 66%] 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::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%] Built target unittest_rgw_dmclock_scheduler [ 66%] 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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 66%] Building CXX object src/test/CMakeFiles/unittest_heartbeatmap.dir/heartbeat_map.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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 66%] Built target ceph-authtool [ 67%] Linking CXX executable ../../../bin/ceph_test_filestore_idempotent_sequence In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 67%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Linking CXX executable ../../../bin/ceph_test_keyvaluedb_iterators /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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_str_list [ 67%] Linking CXX shared library ../../lib/librados.so [ 67%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Linking CXX executable ../../bin/ceph_test_timers /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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_arch [ 67%] Building CXX object src/test/CMakeFiles/unittest_libcephfs_config.dir/libcephfs_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, 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 [ 67%] 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, 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 [ 67%] Building CXX object src/test/CMakeFiles/unittest_ipaddr.dir/test_ipaddr.cc.o [ 67%] Linking CXX executable ../../bin/ceph_test_signal_handlers [ 67%] Built target ceph_test_timers [ 67%] 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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()) { | ^~~~~~ | & /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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%] 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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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%] Built target ceph_test_signal_handlers /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/test/common/CMakeFiles/get_command_descriptions.dir/get_command_descriptions.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 67%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Linking CXX executable ../../bin/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 | ^~~~~~~~ [ 67%] Linking CXX executable ../../bin/monmaptool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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 [ 67%] Built target librados [ 67%] Building CXX object src/test/common/CMakeFiles/unittest_blkdev.dir/test_blkdev.cc.o [ 67%] Linking CXX executable ../../bin/unittest_simple_spin [ 67%] Linking CXX executable ../../bin/unittest_utf8 /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) \ | ^~~~ 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 | ^~~~~~~~ [ 67%] Built target ceph_test_filestore 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) \ | ^~~~ [ 67%] 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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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 [ 67%] Built target unittest_crush_wrapper In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 67%] Building CXX object src/test/common/CMakeFiles/unittest_json_formatter.dir/test_json_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, 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 67%] Built target ceph_bench_log In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 67%] 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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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, 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 [ 67%] Building CXX object src/test/common/CMakeFiles/unittest_shared_cache.dir/test_shared_cache.cc.o [ 67%] Built target monmaptool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/test/common/CMakeFiles/unittest_sloppy_crc_map.dir/test_sloppy_crc_map.cc.o [ 67%] Built target ceph_test_keyvaluedb [ 67%] Built target unittest_utf8 [ 68%] Building CXX object src/test/common/CMakeFiles/unittest_util.dir/test_util.cc.o [ 68%] Built target unittest_simple_spin [ 68%] Building CXX object src/test/common/CMakeFiles/unittest_throttle.dir/Throttle.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 [ 68%] Linking CXX executable ../../../bin/unittest_lfnindex [ 68%] Building CXX object src/test/common/CMakeFiles/unittest_global_doublefree.dir/test_global_doublefree.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 [ 68%] Linking CXX executable ../../../bin/unittest_global_doublefree In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 68%] Linking CXX executable ../../bin/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 68%] Built target unittest_global_doublefree [ 68%] Building CXX object src/test/common/CMakeFiles/unittest_util.dir/__/__/common/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 [ 68%] Linking CXX executable ../../bin/unittest_libcephfs_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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_lfnindex [ 68%] Built target unittest_base64 /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 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_transaction [ 68%] Building CXX object src/test/fs/CMakeFiles/ceph_test_trim_caps.dir/test_trim_caps.cc.o [ 68%] Building CXX object src/test/common/CMakeFiles/unittest_dns_resolve.dir/dns_resolve.cc.o [ 68%] Linking CXX executable ../../../bin/unittest_fastbmap_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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 68%] Linking CXX executable ../../../bin/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 68%] Linking CXX executable ../../bin/ceph-osdomap-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, 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, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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_libcephfs_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 = {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 [ 68%] Building CXX object src/test/fs/CMakeFiles/ceph_test_ino_release_cb.dir/test_ino_release_cb.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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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%] Linking CXX executable ../../bin/unittest_run_cmd /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 68%] Linking CXX executable ../../bin/ceph_test_keys [ 68%] Built target ceph_test_trim_caps [ 68%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 68%] Built target unittest_transaction /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/journal/CMakeFiles/unittest_journal.dir/test_Entry.cc.o [ 68%] Linking CXX executable ../../../bin/unittest_memstore_clone 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()) { | ~~~~~~~~~~~~^~ 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/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, | ^~~~~~~~~~ [ 68%] Built target unittest_fastbmap_allocator [ 68%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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%] Linking CXX executable ../../bin/ceph_perf_local /builddir/build/BUILD/dsms-storage/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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 [ 68%] Built target unittest_run_cmd [ 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::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/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); | ^~~~~~~~~~~~ [ 68%] Built target ceph_test_keys /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 = {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 [ 68%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/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 [ 68%] Linking CXX executable ../../bin/unittest_crypto_init 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) \ | ^~~~ [ 68%] 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, 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, 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 [ 68%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs_access.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 > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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/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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 [ 68%] Built target 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, 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 [ 68%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/readdir_r_cb.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::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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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, 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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 [ 68%] Linking CXX executable ../../bin/unittest_workqueue /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 ceph_test_object_map [ 68%] 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::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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, from /builddir/build/BUILD/dsms-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) \ | ^~~~ [ 68%] 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 ceph_test_keyvaluedb_iterators [ 68%] 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::encode_nohead(const 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_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, 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%] 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::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 [ 68%] Linking CXX executable ../../../bin/ceph_test_msgr [ 68%] Linking CXX executable ../../bin/unittest_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 = {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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 68%] Linking CXX executable ../../../bin/unittest_sloppy_crc_map [ 68%] Built target unittest_features /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 68%] Building CXX object 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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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 > >; 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 [ 68%] Built target unittest_formatter [ 68%] 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/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) \ | ^~~~ [ 68%] Built target 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 68%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_io.dir/io.cc.o [ 68%] 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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 68%] 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 >; 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 [ 69%] Linking CXX executable ../../bin/unittest_ceph_argparse /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 69%] Linking CXX executable ../../../bin/ceph_test_libcephfs_reclaim /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 69%] Linking CXX executable ../../bin/unittest_ceph_crypto [ 69%] 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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 69%] Linking CXX executable ../../bin/unittest_signals [ 69%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/caps.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Built target unittest_ceph_argparse [ 69%] Built target ceph_test_libcephfs_reclaim [ 70%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_c_write_operations.dir/c_write_operations.cc.o [ 70%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/multiclient.cc.o [ 70%] Linking CXX executable ../../bin/unittest_gather [ 70%] Built target unittest_mds_sessionfilter /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/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::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 [ 70%] Linking CXX executable ../../bin/unittest_auth [ 70%] Built target unittest_ceph_crypto [ 70%] 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 70%] 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 >; 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 [ 70%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_JournalPlayer.cc.o [ 70%] 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 > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 70%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_aio_pp.dir/aio_cxx.cc.o [ 70%] Linking CXX executable ../../../bin/ceph-erasure-code-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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::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 unittest_signals [ 70%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_asio.dir/asio.cc.o [ 70%] Built target unittest_gather /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 70%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_list.dir/list.cc.o [ 70%] Linking CXX executable ../../../bin/unittest_erasure_code_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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 unittest_auth [ 71%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_pool.dir/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 ceph-erasure-code-tool [ 71%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_JournalRecorder.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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-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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_stat.dir/stat.cc.o [ 71%] Built target ceph_test_filestore_idempotent_sequence /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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 [ 71%] 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::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 [ 71%] Linking CXX executable ../../bin/ceph_psim 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: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 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: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 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]); | ^~~~~~~~~~~~~~~ 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, | ^~~~~~~~~~ [ 71%] Linking CXX executable ../../../bin/ceph_test_mon_workloadgen [ 71%] Built target unittest_erasure_code_shec [ 71%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_watch_notify.dir/watch_notify.cc.o [ 71%] Linking CXX executable ../../bin/unittest_heartbeatmap [ 71%] Linking CXX executable ../../bin/unittest_admin_socket [ 71%] Built target ceph_psim /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/test/librados/CMakeFiles/ceph_test_rados_api_watch_notify_pp.dir/watch_notify_cxx.cc.o [ 71%] Linking CXX executable ../../bin/unittest_striper 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 | ^~~~~~~~ [ 71%] Built target unittest_heartbeatmap [ 71%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_cls.dir/cls.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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%] Built target unittest_admin_socket [ 71%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_JournalTrimmer.cc.o [ 71%] Built target unittest_striper 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 | ^~~~~~~~ [ 72%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_ObjectPlayer.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 72%] Built target ceph_test_filestore_idempotent [ 73%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/flock.cc.o 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 | ^~~~~~~~ [ 73%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_misc.dir/misc.cc.o [ 73%] Built target ceph_test_mon_workloadgen [ 73%] Linking CXX executable ../../../bin/ceph_test_libcephfs_lazyio 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 | ^~~~~~~~ [ 73%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_misc_pp.dir/misc_cxx.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 | ^~~~~~~~ [ 73%] Linking CXX executable ../../../bin/unittest_json_formatter 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/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 | ^~~~~~~~ [ 73%] Built target ceph_test_libcephfs_lazyio [ 73%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_lock.dir/lock.cc.o [ 73%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_lock_pp.dir/lock_cxx.cc.o [ 73%] Linking CXX executable ../../bin/ceph-kvstore-tool [ 73%] Linking CXX executable ../../bin/ceph_objectstore_bench [ 73%] Built target unittest_json_formatter [ 73%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_service.dir/service.cc.o [ 73%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/recordlock.cc.o [ 73%] Linking CXX executable ../../../bin/ceph_test_objectcacher_stress [ 74%] Linking CXX executable ../../bin/ceph-conf [ 74%] Linking CXX executable ../../bin/unittest_perf_counters /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]; | ^~~ [ 74%] Linking CXX executable ../../bin/crushtool 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: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 file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage/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: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 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/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 | ^~~~~~~~ [ 74%] Linking CXX executable ../../bin/unittest_mempool [ 74%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_service_pp.dir/service_cxx.cc.o [ 74%] Linking CXX executable ../../bin/unittest_crypto [ 74%] Built target ceph-conf [ 74%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_tier_pp.dir/tier_cxx.cc.o [ 74%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_snapshots.dir/snapshots.cc.o 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 | ^~~~~~~~ [ 74%] Built target unittest_perf_counters [ 74%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/acl.cc.o 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 | ^~~~~~~~ [ 74%] Built target ceph_test_objectcacher_stress [ 74%] Built target crushtool [ 74%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/main.cc.o [ 74%] Linking CXX executable ../../bin/unittest_random_string [ 74%] Building CXX object src/test/librados/CMakeFiles/ceph_test_rados_api_snapshots_pp.dir/snapshots_cxx.cc.o 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 | ^~~~~~~~ [ 74%] Built target unittest_memstore_clone [ 74%] Linking CXX executable ../../bin/ceph-bluestore-tool [ 74%] Linking CXX executable ../../../bin/ceph_test_rados_api_stat [ 74%] Building CXX object src/test/librados/CMakeFiles/unittest_librados.dir/librados.cc.o [ 74%] Built target unittest_mempool [ 74%] Building CXX object src/test/librados/CMakeFiles/unittest_librados_config.dir/librados_config.cc.o [ 74%] Linking CXX executable ../../../bin/ceph_test_rados_api_c_write_operations [ 74%] Built target unittest_crypto [ 74%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/test_ObjectRecorder.cc.o [ 75%] Building CXX object src/test/libradosstriper/CMakeFiles/rados_striper_test.dir/TestCase.cc.o [ 75%] Linking CXX executable ../../../bin/ceph_test_rados_api_cls [ 75%] Built target unittest_random_string [ 75%] Building CXX object src/test/journal/CMakeFiles/unittest_journal.dir/RadosTestFixture.cc.o [ 75%] Linking CXX executable ../../../bin/unittest_interval_set [ 75%] 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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 [ 75%] Built target ceph_test_rados_api_stat /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 75%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_fixture.cc.o [ 75%] Built target ceph_test_rados_api_c_write_operations [ 75%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_librbd.cc.o [ 75%] Linking CXX executable ../../bin/test_trans [ 75%] Built target ceph_test_rados_api_cls [ 75%] Building CXX object src/test/mon/CMakeFiles/unittest_mon_moncap.dir/moncap.cc.o 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 | ^~~~~~~~ [ 75%] Built target unittest_sharedptr_registry [ 75%] Built target unittest_interval_set [ 75%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/deleg.cc.o [ 75%] Building CXX object src/test/mon/CMakeFiles/unittest_mon_monmap.dir/MonMap.cc.o 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 | ^~~~~~~~ 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 { | ^~~~~~~~ In file included from /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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 75%] Built target test_trans [ 75%] Building CXX object src/test/mon/CMakeFiles/unittest_mon_pgmap.dir/PGMap.cc.o [ 75%] Building CXX object src/test/libcephfs/CMakeFiles/ceph_test_libcephfs.dir/monconfig.cc.o [ 75%] 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 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/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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ [ 75%] Linking CXX executable ../../../bin/unittest_blkdev [ 75%] Linking CXX executable ../../../bin/ceph_test_rados_api_io [ 75%] Linking CXX executable ../../../bin/unittest_librados 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 | ^~~~~~~~ [ 75%] Linking CXX executable ../../../bin/ceph_test_rados_api_pool [ 75%] Built target ceph_test_rados_api_stat_pp [ 75%] Building CXX object src/test/mon/CMakeFiles/unittest_mon_montypes.dir/test_mon_types.cc.o 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 75%] Built target unittest_librados [ 75%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_ImageWatcher.cc.o [ 75%] Built target unittest_blkdev [ 75%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_internal.cc.o [ 75%] Built target ceph_test_rados_api_io [ 75%] 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 75%] Linking CXX executable ../../../bin/unittest_librados_config [ 75%] Built target ceph_test_rados_api_pool [ 75%] Building CXX object src/test/osd/CMakeFiles/ceph_test_rados.dir/TestRados.cc.o [ 75%] Linking CXX static library ../../../lib/librados_striper_test.a [ 75%] Linking CXX executable ../../../bin/ceph_test_rados_api_cmd_pp [ 75%] Built target rados_striper_test [ 75%] Building CXX object src/test/osd/CMakeFiles/ceph_test_rados.dir/TestOpStat.cc.o [ 75%] Linking CXX executable ../../../bin/ceph_test_rados_api_cmd /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])); | ~~~~~~^~~~~~~~~ [ 75%] Built target unittest_librados_config [ 75%] Building CXX object src/test/osd/CMakeFiles/ceph_test_osd_stale_read.dir/ceph_test_osd_stale_read.cc.o [ 75%] Linking CXX executable ../../bin/unittest_daemon_config 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 | ^~~~~~~~ [ 75%] Built target ceph_test_rados_api_cmd_pp [ 75%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_main.cc.o [ 75%] Built target ceph_test_rados_api_cmd [ 75%] Building CXX object src/test/immutable_object_cache/CMakeFiles/ceph_test_immutable_obj_cache.dir/test_main.cc.o [ 75%] Linking CXX executable ../../../bin/unittest_json_formattable [ 75%] Linking CXX executable ../../../bin/unittest_throttle [ 75%] Built target unittest_daemon_config 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 /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 | ^~~~~~~~ [ 75%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_main.cc.o 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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 75%] Linking CXX executable ../../../bin/ceph_test_rados_api_c_read_operations [ 76%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_fixture.cc.o [ 76%] Built target unittest_json_formattable 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 | ^~~~~~~~ [ 76%] Building CXX object src/test/rbd_mirror/CMakeFiles/ceph_test_rbd_mirror.dir/test_main.cc.o 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 76%] Built target unittest_throttle 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 | ^~~~~~~~ [ 76%] Building CXX object src/test/system/CMakeFiles/ceph_test_rados_list_parallel.dir/rados_list_parallel.cc.o 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 | ^~~~~~~~ [ 76%] Linking CXX executable ../../../bin/unittest_util /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); | ^~~ [ 76%] Built target ceph_test_rados_api_c_read_operations 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 | ^~~~~~~~ [ 76%] Building CXX object src/test/system/CMakeFiles/ceph_test_rados_open_pools_parallel.dir/rados_open_pools_parallel.cc.o [ 76%] Linking CXX executable ../../../bin/ceph_test_rados_api_snapshots [ 76%] Built target unittest_util [ 76%] Building CXX object src/test/system/CMakeFiles/ceph_test_rados_delete_pools_parallel.dir/rados_delete_pools_parallel.cc.o [ 76%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_SimplePolicy.cc.o [ 76%] Linking CXX executable ../../../bin/ceph_test_immutable_obj_cache [ 76%] Built target ceph_test_rados_api_snapshots [ 76%] Building CXX object src/test/lazy-omap-stats/CMakeFiles/ceph_test_lazy_omap_stats.dir/main.cc.o [ 76%] Linking CXX executable ../../bin/unittest_ipaddr [ 76%] Linking CXX executable ../../../bin/ceph_test_rados_open_pools_parallel 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 76%] Linking CXX executable ../../bin/osdmaptool /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 76%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Built target ceph_test_rados_open_pools_parallel [ 76%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_DomainSocket.cc.o [ 76%] Built target ceph_test_immutable_obj_cache [ 76%] Building CXX object src/rgw/CMakeFiles/radosgw-token.dir/rgw_token.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/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/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 | ^~~~~~~~ [ 76%] Built target unittest_ipaddr [ 76%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_multi_session.cc.o [ 76%] Built target ceph_objectstore_bench [ 76%] Built target osdmaptool [ 76%] Building CXX object src/CMakeFiles/librados-config.dir/librados-config.cc.o [ 76%] Built target ceph-kvstore-tool [ 76%] Building CXX object src/CMakeFiles/ceph-mon.dir/ceph_mon.cc.o [ 76%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_ImageMap.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 76%] Building CXX object src/test/system/CMakeFiles/ceph_test_rados_delete_pools_parallel.dir/st_rados_delete_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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Linking CXX executable ../../../bin/unittest_shared_cache [ 76%] 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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_ino_release_cb [ 76%] 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/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 | ^~~~~~~~ [ 77%] 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 = {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/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_ImageReplayer.cc.o [ 77%] Built target ceph_test_ino_release_cb [ 77%] Building CXX object src/CMakeFiles/ceph-mds.dir/ceph_mds.cc.o [ 77%] Built target ceph-bluestore-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, 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/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 | ^~~~~~~~ [ 77%] Building CXX object src/CMakeFiles/ceph-syn.dir/ceph_syn.cc.o [ 77%] Built target ceph_test_rados_api_watch_notify [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_lock 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 | ^~~~~~~~ [ 77%] Building CXX object src/CMakeFiles/ceph-fuse.dir/ceph_fuse.cc.o [ 77%] Built target unittest_shared_cache [ 77%] Building CXX object src/libradosstriper/CMakeFiles/radosstriper.dir/libradosstriper.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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 77%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/__/ceph_mgr.cc.o [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_delete_pools_parallel [ 77%] Linking CXX executable ../../../bin/unittest_dns_resolve [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_list [ 77%] Linking CXX executable ../../bin/ceph_test_filejournal [ 77%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/__/mon/PGMap.cc.o [ 77%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/ActivePyModule.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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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 | ^~~~~~~~ [ 77%] Built target ceph_test_rados_delete_pools_parallel [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_watch_notify_pp [ 77%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_auth_keystone.cc.o [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_service [ 77%] Built target ceph_test_rados_api_lock 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 | ^~~~~~~~ [ 77%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_ImageSync.cc.o [ 77%] Building CXX object src/librbd/CMakeFiles/librbd.dir/librbd.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 = 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) \ | ^~~~ 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 | ^~~~~~~~ [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_lock_pp [ 77%] Built target unittest_dns_resolve [ 77%] Built target ceph_test_rados_api_list [ 77%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_InstanceReplayer.cc.o [ 77%] Generating ../../../lib/cython_modules/lib.3/cephfs.cpython-310-x86_64-linux-gnu.so 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 | ^~~~~~~~ [ 77%] Built target ceph_test_filejournal [ 77%] Building C object src/tools/CMakeFiles/ceph_scratchtool.dir/scratchtool.c.o [ 77%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_InstanceWatcher.cc.o [ 77%] Built target ceph_test_rados_api_watch_notify_pp [ 77%] Built target ceph_test_rados_api_service [ 77%] Building CXX object src/tools/CMakeFiles/ceph_scratchtoolpp.dir/scratchtoolpp.cc.o [ 77%] Building CXX object src/tools/CMakeFiles/ceph_radosacl.dir/radosacl.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/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 | ^~~~~~~~ [ 77%] 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 = {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%] Built target ceph_test_rados_api_lock_pp [ 77%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_client_io.cc.o [ 77%] Built target ceph_scratchtool [ 77%] Building CXX object src/tools/CMakeFiles/ceph-client-debug.dir/ceph-client-debug.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 77%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_LeaderWatcher.cc.o [ 77%] Linking CXX executable ../../../bin/ceph_test_rbd_mirror [ 77%] Linking CXX executable ../bin/librados-config 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 | ^~~~~~~~ [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_list_parallel In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 77%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 [ 77%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_frontend.cc.o [ 77%] Built target librados-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 = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 77%] 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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 | ^~~~~~~~ [ 77%] Built target ceph_test_rados_list_parallel [ 77%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/cephfs-journal-tool.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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 77%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_http_client_curl.cc.o [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_service_pp 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_io_pp 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 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-x86_64-cpython-310 creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage/build creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage/build/src creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage/build/src/pybind creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -iquote/builddir/build/BUILD/dsms-storage/src/include -w -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.c -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv [ 77%] Built target ceph_test_rados_api_service_pp [ 77%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_loadgen.cc.o [ 77%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_log.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_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 | ^~~~~~~~ [ 77%] Built target ceph_test_rados_api_io_pp [ 77%] 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/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/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 | ^~~~~~~~ [ 77%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-table-tool.dir/TableTool.cc.o [ 77%] Linking CXX executable ../../../bin/unittest_mon_moncap 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 77%] Built target unittest_mon_moncap [ 77%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-table-tool.dir/RoleSelector.cc.o [ 77%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-table-tool.dir/MDSUtility.cc.o 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 | ^~~~~~~~ [ 77%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/cephfs-data-scan.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/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/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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ [ 77%] Linking CXX executable ../../../bin/unittest_mon_montypes 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 /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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/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/test/librbd/CMakeFiles/rbd_test.dir/test_mirroring.cc.o 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 | ^~~~~~~~ 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, | ^~~~~~~~~~ [ 77%] Built target unittest_mon_montypes [ 77%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_BlockGuard.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/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, 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 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 77%] Linking CXX executable ../../bin/ceph_scratchtoolpp [ 77%] Linking CXX executable ../../bin/unittest_denc [ 77%] Linking CXX executable ../../bin/ceph_radosacl 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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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%] Built target ceph_scratchtoolpp [ 77%] Building CXX object src/tools/rbd_mirror/CMakeFiles/rbd-mirror.dir/main.cc.o [ 77%] Built target ceph_radosacl [ 77%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_DeepCopy.cc.o [ 77%] Building CXX object src/test/osd/CMakeFiles/ceph_test_rados.dir/Object.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/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( | ^~~~~~~~~~~~~~~~~~~~ [ 77%] Built target unittest_denc [ 77%] Building CXX object src/test/osd/CMakeFiles/ceph_test_rados.dir/RadosModel.cc.o [ 77%] Linking CXX executable ../../../bin/unittest_mon_election [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_snapshots_pp 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 | ^~~~~~~~ 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_Groups.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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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_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/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 /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/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 | ^~~~~~~~ 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/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 | ^~~~~~~~ [ 77%] Built target unittest_mon_election [ 77%] Built target ceph_test_rados_api_snapshots_pp [ 77%] Building CXX object src/tools/immutable_object_cache/CMakeFiles/ceph-immutable-object-cache.dir/main.cc.o [ 77%] 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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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%] 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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/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 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, 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 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/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, 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/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 | ^~~~~~~~ [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_aio 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 | ^~~~~~~~ [ 77%] Linking CXX executable ../../bin/radosgw-token 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 | ^~~~~~~~ [ 77%] Linking CXX executable ../../../bin/ceph_test_rados_api_asio /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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, | ^~~~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ 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()) { | ~~~~~~~~~~~~^~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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_crypto.h:21: /usr/include/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ 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/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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 radosgw-token [ 77%] Building CXX object src/test/CMakeFiles/test_build_libcephfs.dir/buildtest_skeleton.cc.o [ 77%] Built target ceph_test_rados_api_aio 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 | ^~~~~~~~ [ 77%] Building CXX object src/test/CMakeFiles/ceph_test_mutate.dir/test_mutate.cc.o [ 77%] Built target ceph_test_rados_api_asio [ 77%] Building CXX object src/libradosstriper/CMakeFiles/radosstriper.dir/RadosStriperImpl.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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_build_libcephfs 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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, 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 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 | ^~~~~~~~ [ 77%] Built target test_build_libcephfs 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/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, | ^~~~~~~~~~ [ 77%] Building CXX object src/test/CMakeFiles/ceph_omapbench.dir/omap_bench.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_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/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/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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 77%] Linking CXX executable ../../../bin/unittest_mon_monmap /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 77%] Building CXX object src/test/CMakeFiles/ceph_kvstorebench.dir/kv_store_bench.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_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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ [ 77%] Linking CXX executable ../../bin/unittest_bufferlist 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/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 | ^~~~~~~~ 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/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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 77%] Built target unittest_mon_monmap [ 77%] Building CXX object src/test/CMakeFiles/test_rgw_ldap.dir/__/rgw/rgw_ldap.cc.o [ 77%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_object_store.cc.o [ 77%] Built target unittest_bufferlist [ 77%] Building CXX object src/test/CMakeFiles/ceph_multi_stress_watch.dir/multi_stress_watch.cc.o 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 | ^~~~~~~~ [ 77%] Building CXX object src/test/immutable_object_cache/CMakeFiles/unittest_ceph_immutable_obj_cache.dir/test_message.cc.o [ 77%] Building CXX object src/test/CMakeFiles/test_rgw_ldap.dir/test_rgw_ldap.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_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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 77%] 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/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 | ^~~~~~~~ [ 77%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/ActivePyModules.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_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/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/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/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 | ^~~~~~~~ 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 | ^~~~~~~~ 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/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 | ^~~~~~~~ [ 77%] Linking CXX executable ../../../bin/unittest_mon_pgmap 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::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/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/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 | ^~~~~~~~ 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, 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 | ^~~~~~~~ [ 77%] Linking CXX executable ../../bin/ceph_multi_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/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 [ 77%] 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 | ^~~~~~~~ [ 77%] Built target ceph_multi_stress_watch [ 77%] Building C object src/test/CMakeFiles/test_c_headers.dir/test_c_headers.c.o [ 77%] Built target unittest_mon_pgmap [ 77%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/BaseMgrModule.cc.o [ 77%] Linking C executable ../../bin/test_c_headers /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 test_c_headers [ 77%] Building CXX object src/test/cls_hello/CMakeFiles/ceph_test_cls_hello.dir/test_cls_hello.cc.o [ 77%] Built target ceph_test_osd_stale_read [ 77%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/BaseMgrStandbyModule.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/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 | ^~~~~~~~ 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 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 77%] Linking CXX executable ../../../bin/unittest_osd_types 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 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 | ^~~~~~~~ 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 77%] Linking CXX executable ../../../bin/get_command_descriptions [ 77%] Linking CXX executable ../../bin/ceph-monstore-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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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 unittest_osd_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 >; 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 [ 77%] Building CXX object src/test/cls_lock/CMakeFiles/ceph_test_cls_lock.dir/test_cls_lock.cc.o 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/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] 1001 | for (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, 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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, 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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/test/cls_log/CMakeFiles/ceph_test_cls_log.dir/test_cls_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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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 /builddir/build/BUILD/dsms-storage/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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, 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::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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ 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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 /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 { | ^~~~~~~~ [ 77%] Built target ceph_test_rbd_mirror 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 | ^~~~~~~~ [ 77%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/JournalTool.cc.o 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 | ^~~~~~~~ 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_rados_api_misc 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, 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 creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3 /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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage/build/src/pybind/cephfs/cephfs.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lcephfs -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/cephfs.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 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/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%] Built target ceph_test_rados_api_misc [ 77%] Building CXX object src/test/cls_numops/CMakeFiles/ceph_test_cls_numops.dir/test_cls_numops.cc.o [ 77%] Built target cython_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, 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 [ 77%] Building CXX object src/test/cls_sdk/CMakeFiles/ceph_test_cls_sdk.dir/test_cls_sdk.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_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/rbd-mirror 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) \ | ^~~~ 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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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_mutate 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 77%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/JournalFilter.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ [ 77%] Built target ceph_test_mutate 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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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%] Building CXX object src/test/cls_journal/CMakeFiles/ceph_test_cls_journal.dir/test_cls_journal.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); | ^~~~~~~~ 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/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: /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) | ^~~~~~~~~~~~~~~~~~~ [ 77%] Building CXX object src/test/cls_rbd/CMakeFiles/ceph_test_cls_rbd.dir/test_cls_rbd.cc.o /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); | ^~~~~~~~ [ 77%] Linking CXX executable ../../bin/ceph_test_stress_watch /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/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 | ^~~~~~~~ [ 77%] Building CXX object src/libradosstriper/CMakeFiles/radosstriper.dir/MultiAioCompletionImpl.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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 get_command_descriptions /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 77%] Building CXX object src/test/cls_refcount/CMakeFiles/ceph_test_cls_refcount.dir/test_cls_refcount.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 [ 77%] Built target ceph-monstore-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 [ 77%] 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 77%] Built target ceph_test_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/test/cls_version/CMakeFiles/ceph_test_cls_version.dir/test_cls_version.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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 77%] Building CXX object src/test/cls_lua/CMakeFiles/ceph_test_cls_lua.dir/test_cls_lua.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 78%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 | ^~~~~~~~ [ 78%] 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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%] Linking CXX executable ../../../bin/ceph_test_rados_api_aio_pp [ 79%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/JournalScanner.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 [ 79%] Linking CXX executable ../../../bin/ceph_test_cls_sdk [ 79%] Linking CXX executable ../../../bin/ceph_test_rados [ 79%] Linking CXX executable ../../bin/ceph_omapbench /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 79%] Built target ceph-immutable-object-cache [ 79%] 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 79%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {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 [ 79%] 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 79%] Built target 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 = {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::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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%] Building CXX object src/test/cls_queue/CMakeFiles/ceph_test_cls_queue.dir/test_cls_queue.cc.o [ 79%] Built target ceph_test_rados_api_aio_pp [ 79%] 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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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_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 [ 79%] Built target ceph_test_cls_sdk [ 79%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/test_Trash.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 79%] Built target ceph_test_rados [ 79%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/journal/test_Entries.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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_lazy_omap_stats In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 79%] Building CXX object src/test/librbd/CMakeFiles/rbd_test.dir/journal/test_Replay.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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/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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 >; Ts = {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, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 79%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/EventOutput.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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 79%] Linking CXX executable ../../../bin/unittest_ceph_immutable_obj_cache 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 > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 79%] Linking CXX executable ../../../bin/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/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 [ 79%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::encode_nohead(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/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/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 80%] Built target 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, 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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 80%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 80%] Linking CXX executable ../../../bin/unittest_osdmap [ 80%] Building CXX object src/test/CMakeFiles/ceph_kvstorebench.dir/__/key_value_store/kv_flat_btree_async.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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, 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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 [ 80%] 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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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 [ 80%] Built target unittest_ceph_immutable_obj_cache [ 80%] 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 >; 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 [ 80%] Built target test_rgw_ldap [ 80%] 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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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] /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 [ 80%] Built target unittest_osdmap [ 80%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_NamespaceReplayer.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/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 | ^~~~~~~~ [ 80%] Linking CXX executable ../../bin/ceph-dedup-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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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::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] /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 > >, 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::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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 | ^~~~~~~~ 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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 [ 80%] Built target ceph-dedup-tool [ 80%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_PoolReplayer.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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 | ^~~~~~~~ [ 80%] Linking CXX executable ../../../bin/ceph_test_rados_api_misc_pp 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 = {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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ [ 80%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/ClusterState.cc.o [ 80%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 | ^~~~~~~~ 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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 [ 80%] 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 >; 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 [ 80%] Built target ceph_test_rados_api_misc_pp [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_period_pusher.cc.o [ 81%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonHealthMetricCollector.cc.o [ 81%] Built target ceph_test_cls_log [ 81%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/DataScan.cc.o [ 81%] Linking CXX executable ../../../bin/ceph_test_cls_lock /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 | ^~~~~~~~ [ 81%] Linking CXX executable ../../bin/ceph-client-debug 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 81%] Built target ceph_test_cls_numops [ 81%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/RoleSelector.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 [ 81%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonKey.cc.o [ 81%] Built target ceph_test_cls_lock [ 81%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonServer.cc.o [ 81%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/DaemonState.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 | ^~~~~~~~ [ 81%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/Gil.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, 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/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 | ^~~~~~~~ [ 81%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 [ 81%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-data-scan.dir/PgFiles.cc.o [ 81%] Built target ceph-client-debug [ 81%] 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 81%] Built target unittest_bluestore_types 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 | ^~~~~~~~ [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_realm_reloader.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/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::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 [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_realm_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, 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 [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_os_lib.cc.o [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_process.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/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 | ^~~~~~~~ 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 [ 81%] Linking CXX executable ../../../bin/unittest_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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, 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-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 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/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 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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_test_cls_refcount 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/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 [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_bucket.cc.o [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_config.cc.o [ 81%] Linking CXX executable ../../../bin/ceph_test_cls_version 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) \ | ^~~~ [ 81%] Built target ceph_test_cls_refcount [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_log.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/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 | ^~~~~~~~ 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::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 [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_metadata.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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 81%] Built target ceph_test_cls_version [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_realm.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/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 | ^~~~~~~~ [ 81%] Linking CXX executable ../../../bin/ceph_test_cls_queue 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Built target unittest_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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/test_mock_PoolWatcher.cc.o [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_swift.cc.o [ 81%] Built target ceph_test_cls_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::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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 [ 81%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 = {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: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/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, 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/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 | ^~~~~~~~ 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 [ 81%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_deleter/test_mock_SnapshotPurgeRequest.cc.o [ 81%] Built target rbd-mirror [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_usage.cc.o 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 | ^~~~~~~~ [ 81%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_rest_user.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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 81%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/MgrStandby.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 | ^~~~~~~~ /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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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_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 | ^~~~~~~~ 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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/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/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/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/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]; | ^~~ 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/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 | ^~~~~~~~ [ 81%] Linking CXX executable ../../../bin/ceph_test_libcephfs_access In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 81%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 > > >; 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 [ 81%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/OSDPerfMetricTypes.cc.o [ 82%] 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 82%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 shared library ../../lib/libradosstriper.so 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 | ^~~~~~~~ [ 82%] Linking CXX executable ../../../bin/ceph_test_libcephfs [ 82%] 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, 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%] Built target ceph_test_libcephfs_access [ 82%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyUtil.cc.o [ 82%] Built target ceph_test_cls_rgw_gc [ 82%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyModule.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/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/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/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/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 | ^~~~~~~~ [ 82%] 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 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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/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 | ^~~~~~~~ [ 82%] Built target ceph_test_libcephfs [ 82%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_deleter/test_mock_TrashMoveRequest.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/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/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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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 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, | ^~~~~~~~~~ [ 82%] Built target radosstriper [ 82%] Building CXX object src/tools/cephfs/CMakeFiles/cephfs-journal-tool.dir/MDSUtility.cc.o [ 82%] Building CXX object src/tools/CMakeFiles/rados.dir/rados/rados.cc.o [ 82%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_swift_auth.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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 82%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/PyModuleRegistry.cc.o [ 82%] Built target ceph_test_cls_lua /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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::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 /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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 /builddir/build/BUILD/dsms-storage/src/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_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, | ^~~~~~~~~~ [ 82%] 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::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/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, | ^~~~~~~~~~ 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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, from /builddir/build/BUILD/dsms-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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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_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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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_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::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 = {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/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, | ^~~~~~~~~~ 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/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 | ^~~~~~~~ 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 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 | ^~~~~~~~ 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/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 | ^~~~~~~~ [ 82%] Building CXX object src/tools/CMakeFiles/rados.dir/RadosDump.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ 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: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 file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage/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: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 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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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/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 [ 82%] Linking CXX shared library ../../lib/librbd.so [ 82%] Linking CXX executable ../../../bin/ceph_test_cls_journal 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, | ^~~~~~~~~~ [ 82%] Building CXX object src/tools/CMakeFiles/rados.dir/rados/RadosImport.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_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, | ^~~~~~~~~~ [ 82%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_deleter/test_mock_TrashRemoveRequest.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/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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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 src/mgr/CMakeFiles/ceph-mgr.dir/StandbyPyModules.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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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 [ 82%] Built target 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 82%] Building CXX object src/test/libradosstriper/CMakeFiles/ceph_test_rados_striper_api_striping.dir/striping.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_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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_deleter/test_mock_TrashWatcher.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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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); | ^~~~~~~~~~~~~~~~~~~ [ 82%] Built target ceph_test_cls_journal 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 ()); | ~~~~~~~~~~~~~~~~~ [ 82%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/test_mock_BootstrapRequest.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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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_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::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 [ 82%] Building CXX object src/mgr/CMakeFiles/ceph-mgr.dir/mgr_commands.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::bound_encode(const container&, size_t&, uint64_t) [with 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 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 82%] Linking CXX executable ../../../bin/cephfs-table-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 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/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/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/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 | ^~~~~~~~ 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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {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/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, 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: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::bound_encode(const container&, size_t&, uint64_t) [with 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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] 1001 | for (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, 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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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_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/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/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 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_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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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: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 | ^~~~~~~~ [ 82%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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/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) \ | ^~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 = {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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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/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 [ 82%] 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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 [ 83%] Linking CXX executable ../../../bin/ceph_test_cls_rgw 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 = {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, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/test_mock_PrepareLocalImageRequest.cc.o [ 83%] Linking CXX executable ../bin/ceph-mds /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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::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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 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::encode_nohead(const container&, ceph::buffer::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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( | ^~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 /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 /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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 83%] Built target ceph_test_cls_rgw [ 83%] Building CXX object src/test/libradosstriper/CMakeFiles/ceph_test_rados_striper_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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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/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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/libradosstriper/CMakeFiles/ceph_test_rados_striper_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] /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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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 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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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 [ 83%] Building CXX object src/tools/CMakeFiles/rados.dir/rados/PoolDump.cc.o 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ 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/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::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 [ 83%] 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, 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 83%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/journal/test_mock_CreateLocalImageRequest.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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 83%] Linking CXX executable ../../bin/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 /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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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::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 /builddir/build/BUILD/dsms-storage/src/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 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 | ^~~~~~~~ [ 83%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_usage.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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 [ 83%] Built target ceph_kvstorebench [ 83%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_opa.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: /builddir/build/BUILD/dsms-storage/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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_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); | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 /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/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/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::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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/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 [ 84%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_replayer/journal/test_mock_PrepareReplayRequest.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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_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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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, 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/image_replayer/journal/test_mock_EventPreprocessor.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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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/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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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/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) \ | ^~~~ 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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::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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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 /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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 84%] 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 >; 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 84%] Built target ceph_test_rados_striper_api_aio /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 84%] 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 > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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/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) \ | ^~~~ [ 84%] Linking CXX executable ../../../bin/ceph_test_rados_striper_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 /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%] 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 84%] 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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::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_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 | ^~~~~~~~ /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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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) \ | ^~~~ 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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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_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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 84%] Built target ceph_test_rados_striper_api_io [ 84%] 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/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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, 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::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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {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::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/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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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::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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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%] Built target librbd [ 84%] Building CXX object src/rgw/CMakeFiles/rgw_a.dir/rgw_sts.cc.o [ 84%] Linking CXX executable ../../../bin/ceph_test_rados_striper_api_striping /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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_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 { | ^~~~~~~~ [ 84%] Generating ../../../lib/cython_modules/lib.3/rbd.cpython-310-x86_64-linux-gnu.so 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 > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::encode_nohead(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/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::encode_nohead(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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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 [ 84%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/rbd.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_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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 | ^~~~~~~~ [ 84%] Built target ceph_test_rados_striper_api_striping /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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 cephfs-table-tool [ 85%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/IndentStream.cc.o [ 85%] Linking CXX executable ../bin/ceph-fuse /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::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/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 [ 85%] 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; 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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 [ 85%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/OptionPrinter.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 /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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 85%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/Schedule.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_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/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) \ | ^~~~ 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 85%] 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, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::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 [ 85%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/Shell.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: 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 file included from /usr/include/c++/12/x86_64-anolis-linux/bits/c++allocator.h:33, from /usr/include/c++/12/bits/allocator.h:46, from /usr/include/c++/12/string:41: In member function '_Tp* std::__new_allocator<_Tp>::allocate(size_type, const void*) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]', inlined from 'static _Tp* std::allocator_traits >::allocate(allocator_type&, size_type) [with _Tp = btree::internal::AlignedAlloc<8, std::allocator*> > >::M]' at /usr/include/c++/12/bits/alloc_traits.h:464:28, inlined from 'static void* btree::internal::AlignedAlloc::allocate(Alloc*, size_t) [with long unsigned int Alignment = 8; Alloc = std::allocator*> >]' at /builddir/build/BUILD/dsms-storage/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: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 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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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 [ 85%] Built target ceph-mds [ 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::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 [ 85%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/Utils.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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/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 | ^~~~~~~~ [ 85%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay_ios.dir/ios.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 85%] 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 > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 = {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] 1001 | for (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, 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 > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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: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] 1001 | for (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:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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, 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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, 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 [ 85%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/ImageNameMap.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 Compiling rbd.pyx because it changed. [1/1] Cythonizing rbd.pyx running build running build_ext /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 building 'rbd' extension creating /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -iquote/builddir/build/BUILD/dsms-storage/src/include -w -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.c -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/PendingIO.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 > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 > >, 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 85%] 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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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 [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/ceph_test_rbd_mirror_random_write.dir/random_write.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 >; 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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, 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 [ 85%] Building CXX object src/rbd_fuse/CMakeFiles/rbd-fuse.dir/rbd-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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::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 = {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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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/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 | ^~~~~~~~ [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/image_sync/test_mock_SyncPointCreateRequest.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 [ 85%] Building CXX object src/rgw/CMakeFiles/rgw_a.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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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); | ^~~~~~~~~~~~~~~~~~ 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::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] 1001 | for (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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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/tools/rbd/CMakeFiles/rbd.dir/action/Bench.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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_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::encode_nohead(const container&, ceph::buffer::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 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::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, 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/tools/rbd/CMakeFiles/rbd.dir/action/Children.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 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, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::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 [ 85%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Clone.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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: /builddir/build/BUILD/dsms-storage/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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) \ | ^~~~ [ 85%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Config.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::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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, 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ [ 85%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Copy.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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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, 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_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 | ^~~~~~~~ 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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_sync/test_mock_SyncPointPruneRequest.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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (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/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 | ^~~~~~~~ [ 85%] Building CXX object src/test/rbd_mirror/CMakeFiles/unittest_rbd_mirror.dir/pool_watcher/test_mock_RefreshImagesRequest.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 [ 85%] 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::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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 [ 86%] Building CXX object src/rbd_replay/CMakeFiles/rbd_replay.dir/rbd_loc.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, 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 [ 86%] 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Device.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/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 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/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/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 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 | ^~~~~~~~ [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Diff.cc.o [ 86%] Linking CXX static library ../../lib/librbd_replay_ios.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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 [ 86%] Built target rbd_replay_ios [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/DiskUsage.cc.o [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Export.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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 [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Feature.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Flatten.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, 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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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_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/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 { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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, 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] /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::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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/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/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Ggate.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 86%] 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 86%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/ImageMeta.cc.o [ 86%] Building CXX object src/tools/CMakeFiles/rados.dir/__/common/util.cc.o 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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Import.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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: In instantiation of 'static void _denc::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:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::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 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 > >, 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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/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::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 = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Info.cc.o [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Journal.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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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/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 { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; 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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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, 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 = {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; 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 [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Kernel.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, 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 [ 87%] Building CXX object src/tools/CMakeFiles/rados.dir/__/common/obj_bencher.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 [ 87%] Linking CXX executable ../../../bin/cephfs-journal-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, 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, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 /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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 87%] Linking CXX executable ../../bin/rbd-fuse 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 | ^~~~~~~~ [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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 [ 87%] Built target rbd-fuse [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Lock.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/MergeDiff.cc.o [ 87%] Linking CXX executable ../../../bin/ceph_test_rbd_mirror_random_write /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 87%] Building CXX object src/tools/CMakeFiles/rados.dir/__/osd/ECUtil.cc.o /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] [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Migration.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 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( | ^~~~~~~~~~~~~~~~~~~~ [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/MirrorImage.cc.o [ 87%] Built target ceph_test_rbd_mirror_random_write /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/MirrorPool.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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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] /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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, from /builddir/build/BUILD/dsms-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 /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] [ 87%] 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/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 | ^~~~~~~~ [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Namespace.cc.o [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Nbd.cc.o [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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 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 | ^~~~~~~~ [ 87%] Linking CXX executable ../../../bin/ceph_test_librbd_fsx 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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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 | ^~~~~~~~ [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Perf.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/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 | ^~~~~~~~ [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 87%] Built target ceph_test_librbd_fsx [ 87%] 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Rename.cc.o [ 87%] Linking CXX executable ../bin/ceph-syn [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Resize.cc.o [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Snap.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/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 | ^~~~~~~~ [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Sparsify.cc.o [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Status.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 87%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/TrashPurgeSchedule.cc.o [ 88%] Building CXX object src/tools/rbd/CMakeFiles/rbd.dir/action/Trash.cc.o [ 88%] 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/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/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 | ^~~~~~~~ [ 88%] Linking CXX executable ../../../bin/cephfs-data-scan [ 88%] Built target ceph-syn 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/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 | ^~~~~~~~ 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/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/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 | ^~~~~~~~ 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/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 /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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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/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 | ^~~~~~~~ [ 88%] Linking CXX executable ../../../bin/ceph_test_objectstore 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/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/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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 | ^~~~~~~~ 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/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 /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( | ^~~~~~~~~~~~~~~~~~~~ [ 88%] Linking CXX static library ../../lib/librbd_replay.a [ 88%] Linking CXX executable ../../bin/rados [ 88%] Built target cephfs-journal-tool In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 88%] Built target rbd_replay [ 88%] Building CXX object src/test/CMakeFiles/unittest_rbd_replay.dir/test_rbd_replay.cc.o [ 88%] Building CXX object src/rbd_replay/CMakeFiles/rbd-replay.dir/rbd-replay.cc.o [ 88%] Building CXX object src/rbd_replay/CMakeFiles/rbd-replay-prep.dir/rbd-replay-prep.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 [ 88%] Built target rados In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 88%] Generating ../../../lib/cython_modules/lib.3/rados.cpython-310-x86_64-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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 88%] Linking CXX executable ../../../bin/rbd-nbd 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 | ^~~~~~~~ [ 88%] Built target rbd-nbd 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-x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -iquote/builddir/build/BUILD/dsms-storage/src/include -w -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.c -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv [ 88%] Linking CXX executable ../../../bin/ceph_test_rados_api_tier_pp 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 | ^~~~~~~~ [ 88%] Built target cephfs-data-scan 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 | ^~~~~~~~ [ 88%] Built target ceph_test_rados_api_tier_pp [ 88%] Built target ceph_test_objectstore [ 88%] Linking CXX executable ../../bin/unittest_rbd_replay [ 88%] Built target unittest_rbd_replay [ 88%] Linking CXX executable ../../bin/rbd-replay-prep [ 88%] Built target rbd-replay-prep [ 88%] Linking CXX executable ../../bin/rbd-replay [ 88%] Built target rbd-replay [ 88%] Linking CXX static library ../../lib/libosd.a [ 88%] Linking CXX static library ../../lib/librgw_a.a [ 88%] Linking CXX executable ../../../bin/rbd [ 88%] Built target rbd [ 88%] Linking CXX executable ../../bin/ceph-mgr /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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage/build/src/pybind/rbd/rbd.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lrbd -lrados -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rbd.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic [ 88%] Built target cython_rbd [ 88%] Linking CXX static library ../../../lib/librbd_test.a [ 88%] Linking CXX executable ../../../bin/ceph_test_cls_rbd [ 88%] Built target ceph-mgr [ 88%] Built target ceph_test_cls_rbd [ 88%] Built target osd [ 88%] Building CXX object src/CMakeFiles/ceph-osd.dir/ceph_osd.cc.o [ 88%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/ceph_objectstore_tool.cc.o [ 88%] Building CXX object src/test/osd/CMakeFiles/unittest_ecbackend.dir/TestECBackend.cc.o [ 88%] Building CXX object src/test/CMakeFiles/test_build_librados.dir/buildtest_skeleton.cc.o [ 88%] Building CXX object src/CMakeFiles/ceph-osd.dir/objclass/class_api.cc.o [ 88%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/rebuild_mondb.cc.o [ 88%] Building CXX object src/CMakeFiles/ceph-osd.dir/osd/objclass.cc.o [ 88%] Building CXX object src/test/osd/CMakeFiles/unittest_pglog.dir/TestPGLog.cc.o [ 89%] Building CXX object src/test/osd/CMakeFiles/unittest_ec_transaction.dir/test_ec_transaction.cc.o [ 89%] Building CXX object src/test/osd/CMakeFiles/unittest_extent_cache.dir/test_extent_cache.cc.o [ 89%] Building CXX object src/test/osd/CMakeFiles/unittest_mclock_scheduler.dir/TestMClockScheduler.cc.o [ 89%] Building CXX object src/test/CMakeFiles/ceph_test_snap_mapper.dir/test_snap_mapper.cc.o [ 89%] Building CXX object src/test/osd/CMakeFiles/unittest_pg_transaction.dir/test_pg_transaction.cc.o [ 89%] Building CXX object src/tools/CMakeFiles/ceph-objectstore-tool.dir/RadosDump.cc.o [ 89%] Building CXX object src/test/osd/CMakeFiles/unittest_osdscrub.dir/TestOSDScrub.cc.o [ 89%] Building CXX object src/test/osd/CMakeFiles/unittest_osd_osdcap.dir/osdcap.cc.o [ 89%] Building CXX object src/test/osd/CMakeFiles/unittest_hitset.dir/hitset.cc.o [ 89%] Built target rbd_test [ 89%] Building CXX object src/test/librbd/CMakeFiles/ceph_test_librbd.dir/test_main.cc.o [ 89%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_main.cc.o [ 89%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ConfigWatcher.cc.o [ 89%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_MetadataCopyRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ExclusiveLock.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_TrashWatcher.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ManagedLock.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_DeepCopyRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_ObjectMap.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_Journal.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/cache/test_mock_WriteAroundObjectDispatch.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_ObjectCopyRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_ImageCopyRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_fixture.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/test_mock_Watcher.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/cache/test_mock_ParentCacheObjectDispatch.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_SetHeadRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_SnapshotCopyRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/deep_copy/test_mock_SnapshotCreateRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/exclusive_lock/test_mock_PreAcquireRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/exclusive_lock/test_mock_PostAcquireRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/exclusive_lock/test_mock_PreReleaseRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_AttachChildRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_AttachParentRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_CloneRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_DetachChildRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_ListWatchersRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_DetachParentRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_PreRemoveRequest.cc.o [ 90%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/io/test_mock_ImageRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_ValidatePoolRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_RefreshRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/image/test_mock_RemoveRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/io/test_mock_CopyupRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/io/test_mock_SimpleSchedulerObjectDispatch.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/io/test_mock_ObjectRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/journal/test_mock_OpenRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/journal/test_mock_PromoteRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/journal/test_mock_Replay.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/managed_lock/test_mock_AcquireRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/managed_lock/test_mock_BreakRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/journal/test_mock_ResetRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/io/test_mock_ImageRequestWQ.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/managed_lock/test_mock_GetLockerRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/managed_lock/test_mock_ReacquireRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/mirror/snapshot/test_mock_CreateNonPrimaryRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/managed_lock/test_mock_ReleaseRequest.cc.o [ 91%] Linking CXX executable ../../bin/test_build_librados [ 91%] Built target test_build_librados [ 91%] 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/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 | ^~~~~~~~ [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/mirror/snapshot/test_mock_ImageMeta.cc.o [ 91%] Linking CXX executable ../../../bin/ceph_test_librbd [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/mirror/snapshot/test_mock_PromoteRequest.cc.o [ 91%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/mirror/snapshot/test_mock_UnlinkPeerRequest.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_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/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 | ^~~~~~~~ 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/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/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/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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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/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 | ^~~~~~~~ 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/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 | ^~~~~~~~ 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/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/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/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 | ^~~~~~~~ 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_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 /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/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_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_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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 91%] 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/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/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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ 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/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 | ^~~~~~~~ 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/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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 /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 /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/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_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 /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 /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_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/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/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_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 | ^~~~~~~~ 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) \ | ^~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 91%] 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/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/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/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 | ^~~~~~~~ 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/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/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/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/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/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/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 /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/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/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/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/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/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/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/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/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/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.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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 | ^~~~~~~~ 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 { | ^~~~~~~~ [ 92%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_DiffRequest.cc.o /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_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/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/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 { | ^~~~~~~~ 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 | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ 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/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/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 | ^~~~~~~~ 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/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/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 | ^~~~~~~~ [ 92%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_InvalidateRequest.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/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 | ^~~~~~~~ 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ 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 | ^~~~~~~~ /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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage/build/src/pybind/rados/rados.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lrados -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rados.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic 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 | ^~~~~~~~ [ 92%] Linking CXX executable ../../../bin/unittest_hitset 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/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/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/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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_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 | ^~~~~~~~ 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/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_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 | ^~~~~~~~ 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 | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_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 | ^~~~~~~~ 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 | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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%] Linking CXX executable ../../../bin/unittest_extent_cache 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/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 | ^~~~~~~~ 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/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-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/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_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/include/c++/12/bits/stl_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 | ^~~~~~~~ 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/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_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/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.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 | ^~~~~~~~ [ 93%] Built target unittest_hitset [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_LockRequest.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/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/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 | ^~~~~~~~ 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/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 | ^~~~~~~~ [ 93%] Built target unittest_extent_cache 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 | ^~~~~~~~ [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_RefreshRequest.cc.o [ 93%] Built target cython_rados [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_ResizeRequest.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/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 | ^~~~~~~~ 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/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/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/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) \ | ^~~~ 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/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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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::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 [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_SnapshotCreateRequest.cc.o 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 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/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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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::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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 /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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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_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 | ^~~~~~~~ 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 [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_SnapshotRemoveRequest.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 93%] Built target ceph_test_librbd [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_SnapshotRollbackRequest.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/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/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 /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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::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/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/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /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( | ^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 [ 93%] 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/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/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) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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_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 | ^~~~~~~~ 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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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, 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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 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, from /builddir/build/BUILD/dsms-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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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/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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 = {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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {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/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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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/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) \ | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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, 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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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/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/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/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] 1001 | for (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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::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:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; 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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::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, 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, 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] 1001 | for (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:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; 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 = {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 = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, 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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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/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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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] 1001 | for (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, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-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] 1001 | for (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] 1001 | for (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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 = {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] 1001 | for (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::encode_nohead(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 unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 93%] Linking CXX executable ../../../bin/unittest_pg_transaction [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/object_map/test_mock_UpdateRequest.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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static 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 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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 >; 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::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 = {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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In 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 [ 93%] Built target unittest_pg_transaction [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_DisableFeaturesRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 >; 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 [ 93%] 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 >; 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, 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/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, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::encode_nohead(const container&, ceph::buffer::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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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 > >; 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 > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::encode_nohead(const 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::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 = {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 [ 93%] Built target ceph_test_snap_mapper [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_EnableFeaturesRequest.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const 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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, 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/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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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::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 = {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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::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/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 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::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 93%] 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 = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_Request.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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 >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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 | ^~~~~~~~ [ 93%] 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/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 | ^~~~~~~~ [ 93%] Built target rgw_a [ 93%] 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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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 | ^~~~~~~~ [ 93%] Linking CXX executable ../../../bin/unittest_ecbackend [ 93%] Built target unittest_ecbackend [ 93%] Building CXX object src/rgw/CMakeFiles/rgw.dir/librgw.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 | ^~~~~~~~ [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_SnapshotProtectRequest.cc.o [ 93%] Linking CXX executable ../../../bin/unittest_osdscrub [ 93%] Building CXX object src/rgw/CMakeFiles/rgw.dir/rgw_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_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 | ^~~~~~~~ [ 93%] Built target unittest_mclock_scheduler [ 93%] 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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/denc_registry.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/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 | ^~~~~~~~ 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 | ^~~~~~~~ [ 93%] Building CXX object src/test/CMakeFiles/test_build_librgw.dir/buildtest_skeleton.cc.o [ 93%] Linking CXX executable ../bin/ceph-osd 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 | ^~~~~~~~ [ 93%] Linking CXX executable ../../bin/test_build_librgw In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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%] Built target test_build_librgw [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_SnapshotRollbackRequest.cc.o [ 93%] Building CXX object src/test/CMakeFiles/test_cors.dir/test_cors.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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::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%] Linking CXX executable ../../../bin/unittest_ec_transaction In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 93%] Built target unittest_ec_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 = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_SnapshotUnprotectRequest.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 [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/ceph_dencoder.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/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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_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/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_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/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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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: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/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); | ^~~~~~~~~~~~~~~ [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/common_types.cc.o /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/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 | ^~~~~~~~ [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/mds_types.cc.o [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/operation/test_mock_TrimRequest.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 | ^~~~~~~~ [ 93%] Built target unittest_osdscrub [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/trash/test_mock_MoveRequest.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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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 | ^~~~~~~~ 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/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/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/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/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::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const 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: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 [ 93%] Linking CXX executable ../../../bin/unittest_rbd_mirror In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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 [ 93%] Building CXX object src/test/CMakeFiles/ceph_test_cls_rgw_meta.dir/test_rgw_admin_meta.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned 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/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 | ^~~~~~~~ /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; | ^~~~~~ [ 93%] Building CXX object src/test/CMakeFiles/ceph_test_cls_rgw_log.dir/test_rgw_admin_log.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/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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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/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/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/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/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 | ^~~~~~~~ [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_bencode.dir/test_rgw_bencode.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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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/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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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/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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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/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, | ^~~~~~~~~~ [ 93%] Linking CXX executable ../../bin/test_cors [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_period_history.dir/test_rgw_period_history.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 [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_compression.dir/test_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 [ 93%] Built target test_cors [ 93%] Building CXX object src/test/librbd/CMakeFiles/unittest_librbd.dir/trash/test_mock_RemoveRequest.cc.o [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/osd_types.cc.o [ 93%] Built target ceph-osd [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/rbd_types.cc.o [ 93%] 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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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_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 | ^~~~~~~~ [ 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_reshard_wait.dir/test_rgw_reshard_wait.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/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( | ^~~~~~~~~~~~~~~~~~~~ [ 93%] Building CXX object src/test/rgw/CMakeFiles/test_rgw_a.dir/test_rgw_common.cc.o 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, 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_crypto.dir/test_rgw_crypto.cc.o [ 93%] Linking CXX executable ../../../bin/unittest_pglog 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 | ^~~~~~~~ [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_reshard.dir/test_rgw_reshard.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/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 | ^~~~~~~~ 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/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, | ^~~~~~~~~~ [ 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/ceph_test_rgw_throttle.dir/test_rgw_throttle.cc.o [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_iam_policy.dir/test_rgw_iam_policy.cc.o 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 | ^~~~~~~~ [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/rgw_types.cc.o [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/__/__/include/uuid.cc.o 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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 93%] Building CXX object src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/__/__/include/utime.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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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/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 | ^~~~~~~~ [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_amqp.dir/test_rgw_amqp.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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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/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 [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_xml.dir/test_rgw_xml.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 = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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 [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_arn.dir/test_rgw_arn.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_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/common/ceph_crypto.h:21: /usr/include/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_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 [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_kms.dir/test_rgw_kms.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 | ^~~~~~~~ [ 93%] Building CXX object src/test/rgw/CMakeFiles/unittest_rgw_url.dir/test_rgw_url.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] [ 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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_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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_civetweb.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_civetweb_frontend.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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, | ^~~~~~~~~~~~ [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_civetweb_log.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, | ^~~~~~~~~~ [ 93%] Linking CXX executable ../../../bin/unittest_rgw_putobj [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_auth_keystone.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: /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/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, | ^~~~~~~~~~ [ 93%] Built target unittest_rgw_putobj [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_client_io.cc.o [ 93%] Building CXX object src/rgw/CMakeFiles/radosgw-admin.dir/rgw_admin.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_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, | ^~~~~~~~~~~~ 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 { | ^~~~~~~~ /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 /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/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 src/tools/ceph-dencoder/CMakeFiles/ceph-dencoder.dir/__/__/rgw/rgw_dencoder.cc.o [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw-admin.dir/rgw_orphan.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/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 | ^~~~~~~~ [ 94%] Linking CXX executable ../../../bin/unittest_rgw_arn [ 94%] Linking CXX executable ../../../bin/unittest_rgw_url [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw-es.dir/rgw_es_main.cc.o [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw-object-expirer.dir/rgw_object_expirer.cc.o 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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 94%] Building CXX object src/rgw/CMakeFiles/ceph_rgw_jsonparser.dir/rgw_jsonparser.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/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 | ^~~~~~~~ [ 94%] Building CXX object src/rgw/CMakeFiles/ceph_rgw_multiparser.dir/rgw_multiparser.cc.o [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_frontend.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 [ 94%] Built target unittest_rgw_url [ 94%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_http_client_curl.cc.o [ 94%] Built target unittest_pglog [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_loadgen.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_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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_log.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/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 | ^~~~~~~~ [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_period_pusher.cc.o [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_realm_reloader.cc.o [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_realm_watcher.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/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, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 95%] Linking CXX executable ../../bin/ceph-objectstore-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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 | ^~~~~~~~ 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_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, | ^~~~~~~~~~ [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_os_lib.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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_process.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_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: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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ 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, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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/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, | ^~~~~~~~~~ [ 95%] Linking CXX executable ../../../bin/ceph_test_rgw_gc_log In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 95%] Linking CXX executable ../../../bin/unittest_rgw_xml /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 95%] Built target unittest_rbd_mirror [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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_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_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_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 | ^~~~~~~~ [ 95%] Linking CXX executable ../../../bin/unittest_rgw_bencode 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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 | ^~~~~~~~ [ 95%] Built target unittest_rgw_xml /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_config.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_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, | ^~~~~~~~~~ [ 95%] Built target ceph_test_rgw_gc_log [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_log.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_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, | ^~~~~~~~~~ [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_metadata.cc.o 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) \ | ^~~~ [ 95%] Linking CXX executable ../../bin/radosgw-es In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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, | ^~~~~~~~~~ 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 | ^~~~~~~~ [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_realm.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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-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 [ 95%] Built target unittest_rgw_bencode [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_swift.cc.o [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_usage.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_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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_rest_user.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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const 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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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_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::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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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_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_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: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 | ^~~~~~~~ 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 /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 | ^~~~~~~~ In file included from /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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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] 963 | for (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 = {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, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary 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 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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 [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_swift_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from 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/encoding.h:41, from /builddir/build/BUILD/dsms-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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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 int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 95%] 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::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 [ 95%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 95%] Linking CXX executable ../../bin/ceph_test_cls_rgw_meta /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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%] Linking CXX executable ../../../bin/unittest_rgw_amqp /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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) \ | ^~~~ [ 95%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 = {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/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; 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::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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; 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 /builddir/build/BUILD/dsms-storage/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 = {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 >; 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 [ 95%] Built target unittest_rgw_amqp [ 95%] 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: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 /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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (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, 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 [ 95%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the 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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const 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, 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 = {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/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, 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/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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 95%] Linking CXX shared library ../../lib/librgw.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_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, 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 95%] Linking CXX executable ../../../bin/unittest_rgw_reshard 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/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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with 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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const 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, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::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/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 { | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::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/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 | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::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 > > >; 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, 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, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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: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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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] 1001 | for (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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 = {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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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_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, | ^~~~~~~~~~ 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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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, | ^~~~~~~~~~ [ 95%] Building CXX object src/rgw/CMakeFiles/radosgw.dir/rgw_main.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_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, | ^~~~~~~~~~ [ 95%] Linking CXX static library ../../../lib/libtest_rgw_a.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, 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 [ 95%] Built target test_rgw_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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::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 [ 95%] 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, 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/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, 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_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_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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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_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, | ^~~~~~~~~~ [ 95%] Linking CXX executable ../../../bin/unittest_http_manager /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::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 [ 95%] Building CXX object src/test/rgw/CMakeFiles/ceph_test_rgw_obj.dir/test_rgw_obj.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/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/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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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 [ 95%] Linking CXX executable ../../../bin/unittest_rgw_compression /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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, 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 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, 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_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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 95%] Linking CXX executable ../../../bin/unittest_rgw_period_history [ 95%] Built target unittest_rgw_arn 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()); | ^~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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, | ^~~~~~~~~~ [ 95%] Built target unittest_rgw_compression /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const 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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 95%] Linking CXX executable ../../bin/ceph_rgw_multiparser /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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 [ 95%] Built target ceph-objectstore-tool [ 95%] 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 95%] 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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_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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 /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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::encode_nohead(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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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%] 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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_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, | ^~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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); | ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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_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 = {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 /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_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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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_swift_auth.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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/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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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 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::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 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, | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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/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); | ^~~~~~~~~~~~~~~~ [ 95%] Built target radosgw-es /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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 96%] Linking CXX executable ../../../bin/unittest_rgw_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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 [ 96%] Linking CXX executable ../../bin/radosgw-object-expirer 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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ 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, | ^~~~~~~~~~~~~ /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_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/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) { | ^~ | & In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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/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) { | ^~~ | & 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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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 [ 96%] Built target ceph_test_cls_rgw_meta /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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 /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)); | ~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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_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 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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_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::bound_encode(const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const 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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::encode_nohead(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/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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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_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%] Built target unittest_rgw_reshard_wait 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 | ^~~~~~~~ /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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::bound_encode(const 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%] Built target 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {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_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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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 = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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: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, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {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, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 [ 96%] Built target 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 /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 97%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file.dir/librgw_file.cc.o [ 97%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file_cd.dir/librgw_file_cd.cc.o [ 97%] Generating ../../../lib/cython_modules/lib.3/rgw.cpython-310-x86_64-linux-gnu.so [ 97%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file_gp.dir/librgw_file_gp.cc.o [ 97%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file_aw.dir/librgw_file_aw.cc.o [ 97%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file_nfsns.dir/librgw_file_nfsns.cc.o [ 97%] Building CXX object src/test/CMakeFiles/ceph_test_librgw_file_marker.dir/librgw_file_marker.cc.o [ 97%] Building CXX object src/test/CMakeFiles/ceph_test_rgw_token.dir/test_rgw_token.cc.o /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 97%] Linking CXX executable ../../../bin/unittest_rgw_kms /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 97%] Built target unittest_http_manager [ 97%] Built target unittest_rgw_period_history In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 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, | ^~~~~~~~~~~~~ /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/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 [ 97%] Built target ceph_test_rgw_throttle 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-x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wall -fno-strict-aliasing -fsigned-char -Wtype-limits -Wignored-qualifiers -Wpointer-arith -Werror=format-security -Winit-self -Wno-unknown-pragmas -rdynamic -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fdiagnostics-color=auto -iquote/builddir/build/BUILD/dsms-storage/src/include -w -Dvoid0=dead_function(void) "-D__Pyx_check_single_interpreter(ARG)=ARG ## 0" -Wno-unused-result -Wsign-compare -DNDEBUG -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fPIC -I/usr/include/python3.10 -I/usr/include/python3.10 -c /builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.c -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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 [ 97%] Built target ceph_rgw_multiparser /builddir/build/BUILD/dsms-storage/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 97%] Built target 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, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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/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/include/encoding.h:41, from /builddir/build/BUILD/dsms-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::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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::bound_encode(const 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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, std::__cxx11::basic_string, ltstr_nocase> >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, ltstr_nocase, std::allocator, std::allocator >, std::__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 > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_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 [ 97%] Built target ceph_test_cls_rgw_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_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/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, | ^~~~~~~~~~ [ 97%] Built target radosgw-object-expirer [ 97%] Built target unittest_rgw_crypto 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 | ^~~~~~~~ [ 97%] Linking CXX executable ../../bin/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 | ^~~~~~~~ [ 97%] Built target ceph_test_librgw_file_aw [ 97%] Linking CXX executable ../../bin/ceph_test_librgw_file_cd [ 97%] Linking CXX executable ../../bin/ceph_test_librgw_file [ 97%] Linking CXX executable ../../bin/ceph_test_librgw_file_gp [ 97%] Built target ceph_test_librgw_file_cd [ 97%] Built target ceph_test_librgw_file [ 97%] Linking CXX executable ../../bin/ceph_test_rgw_token [ 97%] Built target ceph_test_librgw_file_gp [ 97%] Built target ceph_test_rgw_token /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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/temp.linux-x86_64-cpython-310/builddir/build/BUILD/dsms-storage/build/src/pybind/rgw/rgw.o -L/usr/lib64 -L/usr/lib64/python3.10/config-3.10-x86_64-linux-gnu -L/usr/lib64 -lrados -lrgw -lcrypt -ldl -lm -lm -lpython3.10 -o /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rgw.cpython-310-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic [ 97%] Built target unittest_rgw_kms [ 97%] Built target cython_rgw [ 97%] Built target cython_modules [ 98%] Linking CXX executable ../../../bin/ceph_test_rgw_obj 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, | ^~~~~~~~~~~~~~~~~~~~~~~~~ [ 98%] Linking CXX executable ../../../bin/ceph_test_rgw_manifest 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, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::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 [ 98%] Linking CXX executable ../../../bin/unittest_rgw_iam_policy In file included from /builddir/build/BUILD/dsms-storage/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-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, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /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 [ 98%] Linking CXX shared library ../../lib/libradosgw.so [ 98%] Built target ceph_test_rgw_obj [ 98%] Built target ceph_test_rgw_manifest [ 98%] Linking CXX executable ../../bin/ceph_test_librgw_file_marker [ 98%] Built target ceph_test_librgw_file_marker [ 98%] Built target unittest_rgw_iam_policy [100%] Linking CXX executable ../../../bin/unittest_librbd [100%] Linking CXX executable ../../bin/ceph_test_librgw_file_nfsns [100%] Built target radosgw [100%] Building CXX object src/rgw/CMakeFiles/radosgwd.dir/radosgw.cc.o [100%] Linking CXX executable ../../bin/radosgw [100%] Built target radosgwd [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/unittest_osd_osdcap [100%] Built target unittest_osd_osdcap [100%] Built target unittest_librbd [100%] Linking CXX executable ../../../bin/ceph-dencoder [100%] Linking CXX executable ../../bin/radosgw-admin [100%] Built target radosgw-admin [100%] Built target ceph-dencoder + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.cB6kek + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64 ++ dirname /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64 + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS ~/build/BUILD/dsms-storage/build ~/build/BUILD/dsms-storage + 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.x86_64 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 [ 2%] Built target json_spirit [ 3%] Built target fmt [ 3%] Built target common-auth-objs [ 3%] Built target common_buffer_obj [ 3%] Built target common_texttable_obj [ 7%] Built target common-common-objs [ 7%] Built target common_mountcephfs_objs [ 7%] Built target arch [ 8%] Built target crc32 [ 8%] Built target crush_objs [ 10%] Built target common-msg-objs [ 10%] Built target erasure_code [ 10%] Built target common [ 10%] Built target ceph-common [ 10%] Built target rados_snap_set_diff_obj [ 10%] Built target cls_lock_client [ 10%] Built target osdc [ 10%] Built target librados-tp [ 10%] Built target librados_impl [ 10%] Built target librados [ 10%] Built target librados-config [ 10%] Built target erasure_code_objs [ 13%] Built target ec_isa [ 13%] Built target jerasure_objs [ 13%] Built target jerasure_utils [ 13%] Built target gf-complete_objs [ 13%] Built target ec_jerasure_sse4 [ 13%] Built target ec_jerasure_generic [ 13%] Built target ec_jerasure_sse3 [ 13%] Built target ec_jerasure [ 13%] Built target ec_lrc [ 13%] Built target shec_utils [ 13%] Built target ec_shec_sse4 [ 13%] Built target ec_shec_generic [ 13%] Built target ec_shec_sse3 [ 13%] Built target ec_shec [ 13%] Built target ec_clay [ 13%] Built target erasure_code_plugins [ 13%] Performing build step for 'rocksdb_ext' [ 0%] Built target build_version [100%] Built target rocksdb [ 13%] Performing install step for 'rocksdb_ext' [ 13%] Completed 'rocksdb_ext' [ 13%] Built target rocksdb_ext [ 13%] Built target libglobal_objs [ 13%] Built target global-static [ 13%] Built target heap_profiler [ 13%] Built target common_prioritycache_obj [ 13%] Built target kv [ 13%] Built target mgr_cap_obj [ 14%] Built target mon [ 15%] Built target ceph_crypto_isal [ 15%] Built target ceph_crypto_openssl [ 15%] Built target crypto_plugins [ 15%] Built target bluestore-tp [ 15%] Built target objectstore-tp [ 15%] Built target ceph_lz4 [ 15%] Built target ceph_snappy [ 17%] Built target ceph_zlib [ 18%] Built target zstd_ext [ 18%] Built target ceph_zstd [ 18%] Built target compressor_plugins [ 20%] Built target os [ 20%] Built target ceph-mon [ 21%] Built target dmclock [ 21%] Built target cpu_profiler [ 21%] Built target osd-tp [ 21%] Built target pg-tp [ 21%] Built target cls_hello [ 21%] Built target cls_numops [ 21%] Built target cls_rbd [ 21%] Built target cls_lock [ 21%] Built target cls_otp [ 21%] Built target cls_refcount [ 21%] Built target cls_version [ 21%] Built target cls_log [ 21%] Built target cls_timeindex [ 21%] Built target cls_user [ 21%] Built target cls_journal [ 22%] Built target cls_rgw [ 22%] Built target cls_cephfs [ 22%] Built target cls_cas [ 22%] Built target cls_queue [ 22%] Built target cls_rgw_gc [ 23%] Built target osd [ 23%] Built target ceph-osd [ 25%] Built target liblua [ 27%] Built target mds [ 27%] Built target ceph-mds [ 28%] Built target client [ 28%] Built target cephfs [ 28%] 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 [ 29%] Built target osd_tp [ 29%] Built target rados_tp [ 29%] Built target os_tp [ 29%] Built target bluestore_tp [ 29%] 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 [ 30%] Built target cls_otp_client [ 30%] Built target cls_refcount_client [ 30%] Built target cls_version_client [ 30%] Built target cls_log_client [ 30%] 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 [ 33%] Built target rgw_rados-tp [ 33%] Built target rgw_op-tp [ 39%] Built target rgw_common [ 39%] keep civetweb.h up-to-date [ 39%] Built target civetweb_h [ 40%] Built target rgw_a [ 40%] Built target rgw [ 40%] Built target cython_rgw [ 40%] Built target rados [ 40%] Built target cython_rados [ 41%] Built target ceph_immutable_object_cache_lib [ 41%] Built target librbd-tp [ 48%] Built target rbd_internal [ 48%] Built target journal [ 48%] Built target rbd_types [ 48%] Built target librbd [ 48%] Built target cython_rbd [ 48%] Built target cython_cephfs [ 48%] Built target cython_modules [ 48%] Built target ceph_volume-clone [ 48%] Built target ceph-clone [ 48%] Built target ceph-bluestore-tool [ 48%] Built target gtest [ 48%] Built target gmock [ 48%] Built target gmock_main [ 49%] Built target gtest_main [ 49%] Built target ceph_scratchtool [ 49%] Built target ceph_scratchtoolpp [ 49%] Built target ceph_radosacl [ 50%] Built target ceph-osdomap-tool [ 50%] Built target ceph-monstore-tool [ 50%] Built target ceph-objectstore-tool [ 50%] Built target ceph-client-debug [ 50%] Built target ceph-kvstore-tool [ 51%] Built target ceph-conf [ 51%] Built target crushtool [ 51%] Built target monmaptool [ 51%] Built target osdmaptool [ 51%] Built target ceph-diff-sorted [ 52%] Built target ceph_psim [ 52%] Built target ceph-authtool [ 52%] Built target ceph-dedup-tool [ 53%] Built target cephfs-journal-tool [ 53%] Built target cephfs-table-tool [ 53%] Built target cephfs-data-scan [ 53%] Built target cephfs-shell-clone [ 56%] Built target rbd [ 56%] Built target rbd_mirror_types [ 59%] Built target rbd_mirror_internal [ 59%] Built target rbd_api [ 59%] Built target rbd-mirror [ 59%] Built target rbd-nbd [ 60%] Built target ceph-immutable-object-cache [ 60%] Built target rbd_replay_types [ 60%] Built target ceph-dencoder [ 60%] Built target ceph-erasure-code-tool [ 60%] Built target unit-main [ 60%] Built target ceph_test_timers [ 60%] Built target ceph_test_signal_handlers [ 60%] Built target ceph_test_rewrite_latency [ 60%] Built target test_crypto [ 60%] Built target test_build_libcommon [ 60%] Built target test_build_librgw [ 60%] Built target test_build_libcephfs [ 60%] Built target test_build_librados [ 60%] Built target ceph_bench_log [ 60%] Built target ceph_test_mutate [ 60%] Built target test_trans [ 60%] Built target ceph_omapbench [ 60%] Built target ceph_kvstorebench [ 60%] Built target ceph_objectstore_bench [ 60%] Built target amqp_mock [ 60%] Built target kafka_stub [ 60%] Built target test_cors [ 60%] Built target ceph_test_cls_rgw_meta [ 60%] Built target ceph_test_cls_rgw_log [ 60%] Built target ceph_test_librgw_file [ 61%] Built target ceph_test_librgw_file_cd [ 61%] Built target ceph_test_librgw_file_gp [ 61%] Built target ceph_test_librgw_file_nfsns [ 61%] Built target ceph_test_librgw_file_aw [ 61%] Built target ceph_test_librgw_file_marker [ 61%] Built target ceph_test_rgw_token [ 62%] Built target test_rgw_ldap [ 62%] Built target radostest_shared [ 62%] Built target radostest-cxx [ 62%] Built target ceph_multi_stress_watch [ 62%] Built target ceph_perf_local [ 62%] Built target ceph_test_filejournal [ 62%] Built target ceph_test_keys [ 62%] Built target ceph_test_snap_mapper [ 62%] Built target ceph_test_stress_watch [ 62%] Built target ceph_test_cfuse_cache_invalidate [ 62%] Built target test_c_headers [ 62%] 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 [ 63%] Built target unittest_striper [ 63%] Built target unittest_str_list [ 63%] Built target unittest_log [ 63%] Built target unittest_base64 [ 64%] Built target unittest_ceph_argparse [ 64%] Built target unittest_ceph_compatset [ 64%] 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 [ 65%] Built target unittest_denc [ 65%] Built target unittest_mempool [ 65%] Built target unittest_features [ 65%] Built target unittest_crypto [ 65%] Built target unittest_crypto_init [ 65%] Built target unittest_perf_counters [ 65%] Built target unittest_ceph_crypto [ 65%] Built target unittest_utf8 [ 65%] Built target unittest_mime [ 65%] Built target unittest_escape [ 65%] Built target unittest_strtol [ 65%] Built target unittest_confutils [ 65%] Built target unittest_heartbeatmap [ 65%] Built target unittest_formatter [ 65%] Built target unittest_daemon_config [ 65%] Built target unittest_libcephfs_config [ 65%] Built target rbd_replay_ios [ 66%] Built target rbd_replay [ 66%] Built target unittest_rbd_replay [ 66%] Built target unittest_ipaddr [ 66%] Built target unittest_utime [ 66%] Built target unittest_texttable [ 66%] Built target unittest_on_exit [ 66%] Built target unittest_subprocess [ 66%] Built target unittest_pageset [ 66%] Built target unittest_random_string [ 66%] Built target unittest_any [ 66%] Built target unittest_weighted_shuffle [ 66%] Built target ceph_test_cls_hello [ 66%] Built target ceph_test_cls_lock [ 66%] Built target ceph_test_cls_log [ 66%] Built target ceph_test_cls_numops [ 66%] Built target ceph_test_cls_sdk [ 66%] Built target ceph_test_cls_journal [ 66%] Built target ceph_test_cls_rbd [ 66%] Built target ceph_test_cls_refcount [ 67%] Built target ceph_test_cls_rgw [ 67%] Built target ceph_test_cls_version [ 67%] Built target ceph_test_cls_lua [ 67%] Built target ceph_test_cls_rgw_gc [ 67%] Built target ceph_test_cls_queue [ 67%] Built target get_command_descriptions [ 67%] Built target unittest_blkdev [ 67%] Built target unittest_lockdep [ 67%] Built target unittest_counter [ 67%] Built target unittest_numa [ 67%] Built target unittest_bloom_filter [ 67%] Built target unittest_histogram [ 67%] Built target unittest_prioritized_queue [ 67%] Built target unittest_mclock_priority_queue [ 68%] Built target unittest_str_map [ 68%] Built target unittest_json_formattable [ 68%] Built target unittest_json_formatter [ 68%] Built target unittest_sharedptr_registry [ 68%] Built target unittest_shared_cache [ 68%] Built target unittest_sloppy_crc_map [ 68%] Built target unittest_time [ 69%] Built target unittest_util [ 69%] Built target unittest_random [ 69%] Built target unittest_throttle [ 69%] Built target unittest_lru [ 69%] Built target unittest_intrusive_lru [ 69%] Built target unittest_crc32c [ 69%] Built target unittest_config [ 70%] Built target unittest_context [ 70%] Built target unittest_safe_io [ 70%] Built target unittest_url_escape [ 70%] Built target unittest_readahead [ 70%] Built target unittest_tableformatter [ 70%] Built target unittest_xmlformatter [ 70%] Built target unittest_bit_vector [ 70%] Built target unittest_interval_map [ 70%] Built target unittest_interval_set [ 70%] Built target unittest_weighted_priority_queue [ 70%] Built target unittest_mutex_debug [ 70%] Built target unittest_shunique_lock [ 70%] Built target unittest_perf_histogram [ 70%] Built target unittest_global_doublefree [ 70%] Built target unittest_dns_resolve [ 70%] Built target unittest_back_trace [ 71%] Built target unittest_hostname [ 71%] Built target unittest_iso_8601 [ 71%] Built target unittest_convenience [ 71%] Built target unittest_bounded_key_counter [ 71%] Built target unittest_split [ 71%] Built target unittest_static_ptr [ 71%] Built target unittest_hobject [ 71%] Built target unittest_async_completion [ 71%] Built target unittest_async_shared_mutex [ 71%] Built target unittest_rabin_chunk [ 71%] Built target unittest_ceph_timer [ 71%] Built target ceph_example [ 71%] Built target unittest_compression [ 71%] Built target unittest_crush_wrapper [ 71%] Built target unittest_crush [ 71%] Built target ceph_erasure_code_benchmark [ 71%] Built target ceph_erasure_code_non_regression [ 71%] Built target ec_example [ 71%] Built target ec_missing_entry_point [ 71%] Built target ec_missing_version [ 71%] Built target ec_hangs [ 71%] Built target ec_fail_to_initialize [ 71%] Built target ec_fail_to_register [ 72%] Built target unittest_erasure_code_plugin [ 72%] Built target unittest_erasure_code [ 72%] Built target unittest_erasure_code_plugin_jerasure [ 72%] Built target unittest_erasure_code_isa [ 72%] Built target unittest_erasure_code_plugin_isa [ 72%] Built target unittest_erasure_code_lrc [ 72%] Built target unittest_erasure_code_plugin_lrc [ 72%] Built target unittest_erasure_code_plugin_shec [ 72%] Built target unittest_erasure_code_example [ 72%] Built target unittest_erasure_code_jerasure [ 72%] Built target unittest_erasure_code_shec [ 72%] Built target unittest_erasure_code_shec_all [ 72%] Built target unittest_erasure_code_shec_thread [ 72%] Built target unittest_erasure_code_shec_arguments [ 72%] Built target unittest_erasure_code_clay [ 72%] Built target unittest_erasure_code_plugin_clay [ 72%] Built target ceph_test_filestore [ 72%] Built target unittest_mds_types [ 72%] Built target ceph_test_trim_caps [ 72%] Built target ceph_test_ino_release_cb [ 72%] Built target journal_test_mock [ 72%] Built target rados_test_stub [ 73%] Built target unittest_journal [ 74%] Built target ceph_test_libcephfs [ 74%] Built target ceph_test_libcephfs_reclaim [ 74%] Built target ceph_test_libcephfs_lazyio [ 74%] Built target ceph_test_libcephfs_access [ 74%] Built target radostest [ 74%] Built target ceph_test_rados_api_cmd [ 74%] Built target ceph_test_rados_api_cmd_pp [ 74%] Built target ceph_test_rados_api_io [ 74%] Built target ceph_test_rados_api_io_pp [ 75%] Built target ceph_test_rados_api_c_write_operations [ 75%] Built target ceph_test_rados_api_c_read_operations [ 75%] Built target ceph_test_rados_api_aio [ 75%] Built target ceph_test_rados_api_aio_pp [ 75%] Built target ceph_test_rados_api_asio [ 75%] Built target ceph_test_rados_api_list [ 76%] Built target ceph_test_rados_api_pool [ 76%] Built target ceph_test_rados_api_stat [ 76%] Built target ceph_test_rados_api_stat_pp [ 76%] Built target ceph_test_rados_api_watch_notify [ 76%] Built target ceph_test_rados_api_watch_notify_pp [ 76%] Built target ceph_test_rados_api_cls [ 76%] Built target ceph_test_rados_api_misc [ 76%] Built target ceph_test_rados_api_misc_pp [ 76%] Built target ceph_test_rados_api_lock [ 76%] Built target ceph_test_rados_api_lock_pp [ 76%] Built target ceph_test_rados_api_service [ 76%] Built target ceph_test_rados_api_service_pp [ 76%] Built target ceph_test_rados_api_tier_pp [ 76%] Built target ceph_test_rados_api_snapshots [ 76%] Built target ceph_test_rados_api_snapshots_pp [ 76%] Built target unittest_librados [ 76%] Built target unittest_librados_config [ 77%] Built target rados_striper_test [ 77%] Built target ceph_test_rados_striper_api_striping [ 77%] Built target ceph_test_rados_striper_api_io [ 77%] Built target ceph_test_rados_striper_api_aio [ 77%] Built target rbd_test_support [ 77%] Built target rbd_test [ 78%] Built target rbd_test_mock [ 82%] Built target unittest_librbd [ 82%] Built target ceph_test_librbd [ 82%] Built target ceph_test_librbd_fsx [ 82%] Built target unittest_mds_authcap [ 82%] Built target unittest_mds_sessionfilter [ 82%] Built target ceph_test_mon_workloadgen [ 82%] Built target ceph_test_mon_msg [ 82%] Built target unittest_mon_moncap [ 82%] Built target unittest_mon_monmap [ 82%] Built target unittest_mon_pgmap [ 82%] Built target unittest_mon_montypes [ 82%] Built target ceph_test_mon_memory_target [ 82%] Built target ceph_test_log_rss_usage [ 82%] Built target ceph_test_mon_rss_usage [ 82%] Built target unittest_mon_election [ 83%] Built target unittest_mgr_mgrcap [ 83%] Built target ceph_test_async_driver [ 83%] Built target ceph_test_msgr [ 83%] Built target ceph_test_async_networkstack [ 83%] Built target ceph_perf_msgr_server [ 83%] Built target ceph_perf_msgr_client [ 83%] Built target unittest_frames_v2 [ 84%] Built target ceph_test_object_map [ 84%] Built target ceph_test_keyvaluedb_atomicity [ 84%] Built target ceph_test_keyvaluedb_iterators [ 84%] Built target ceph_perf_objectstore [ 84%] Built target store_test_fixture [ 84%] Built target ceph_test_objectstore [ 84%] Built target ceph_test_keyvaluedb [ 84%] Built target ceph_test_filestore_idempotent [ 85%] Built target ceph_test_filestore_idempotent_sequence [ 85%] Built target unittest_chain_xattr [ 85%] Built target unittest_rocksdb_option [ 85%] Built target unittest_alloc [ 85%] Built target unittest_alloc_bench [ 85%] Built target unittest_fastbmap_allocator [ 85%] Built target unittest_hybrid_allocator [ 85%] Built target unittest_bluefs [ 85%] Built target unittest_bluestore_types [ 85%] Built target unittest_bdev [ 85%] Built target unittest_transaction [ 85%] Built target unittest_memstore_clone [ 86%] Built target ceph_test_bmap_alloc_replay [ 86%] Built target unittest_lfnindex [ 86%] Built target ceph_test_rados [ 86%] Built target ceph_test_osd_stale_read [ 87%] Built target unittest_osdmap [ 87%] Built target unittest_osd_types [ 87%] Built target unittest_ecbackend [ 87%] Built target unittest_osdscrub [ 87%] Built target unittest_pglog [ 87%] Built target unittest_hitset [ 87%] Built target unittest_osd_osdcap [ 88%] Built target unittest_extent_cache [ 88%] Built target unittest_pg_transaction [ 89%] Built target unittest_ec_transaction [ 89%] Built target unittest_mclock_scheduler [ 89%] Built target ceph_test_objectcacher_stress [ 89%] Built target unittest_ceph_immutable_obj_cache [ 89%] Built target ceph_test_immutable_obj_cache [ 89%] Built target unittest_rgw_bencode [ 89%] Built target unittest_rgw_period_history [ 89%] Built target unittest_rgw_compression [ 89%] Built target unittest_http_manager [ 89%] Built target unittest_rgw_reshard_wait [ 89%] Built target test_rgw_a [ 89%] Built target ceph_test_rgw_manifest [ 90%] 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 [ 91%] Built target unittest_rgw_iam_policy [ 91%] Built target unittest_rgw_string [ 91%] Built target rgw_schedulers [ 91%] Built target unittest_rgw_dmclock_scheduler [ 91%] Built target unittest_rgw_amqp [ 91%] Built target unittest_rgw_xml [ 91%] Built target unittest_rgw_arn [ 91%] Built target unittest_rgw_kms [ 91%] Built target unittest_rgw_url [ 91%] Built target ceph_test_rgw_gc_log [ 91%] Built target rbd_mirror_test [ 93%] Built target unittest_rbd_mirror [ 93%] Built target ceph_test_rbd_mirror [ 93%] Built target ceph_test_rbd_mirror_random_write [ 94%] Built target systest [ 94%] Built target ceph_test_rados_list_parallel [ 94%] Built target ceph_test_rados_open_pools_parallel [ 95%] Built target ceph_test_rados_delete_pools_parallel [ 95%] Built target ceph_test_lazy_omap_stats [ 96%] Built target isal_crypto_plugin_objs [ 96%] Built target mount.ceph [ 96%] Built target rbd-fuse [ 96%] Built target rbd-replay [ 96%] Built target rbd-replay-prep [ 97%] Built target cls_kvs [ 98%] Built target radosgw [ 98%] Built target radosgwd [100%] Built target radosgw-admin [100%] 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.x86_64/usr/share/selinux/packages/ceph.pp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/selinux/devel/include/contrib/ceph.if -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/libceph-common.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/libceph-common.so.2" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/librados-config -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/librados-config" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mon -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mon" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-osd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mds -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mds" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-debugpack -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-coverage -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-post-file -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-crash -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-run -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-clsinfo -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/init.d/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/id_rsa_drop.ceph.com -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/id_rsa_drop.ceph.com.pub -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/known_hosts_drop.ceph.com -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/ceph/ceph_common.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/ceph/ceph-osd-prestart.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/ceph-create-keys -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libcephfs.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libcephfs.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libcephfs.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libcephfs.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/cephfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/cephfs/ceph_ll_client.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/cephfs/libcephfs.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-syn -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-syn" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-fuse -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-fuse" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/mount.fuse.ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-rbdnamer -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay-many -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbdmap -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/doc/ceph/sample.ceph.conf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/ocf/resource.d/ceph/rbd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librados_tp.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librados_tp.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librados_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libosd_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libosd_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libosd_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libos_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libos_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libos_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw_rados_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw_rados_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw_rados_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw_op_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw_op_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw_op_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librbd_tp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librbd_tp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librbd_tp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_sdk.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_sdk.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_sdk.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_hello.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_hello.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_hello.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_numops.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_numops.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_numops.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_rbd.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_rbd.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_rbd.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_lock.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_lock.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_lock.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_otp.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_otp.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_otp.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_refcount.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_refcount.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_refcount.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_version.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_version.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_version.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_log.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_log.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_log.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_timeindex.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_timeindex.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_timeindex.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_user.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_user.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_user.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_journal.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_journal.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_journal.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_rgw.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_rgw.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_rgw.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_cephfs.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_cephfs.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_cephfs.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_lua.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_lua.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_lua.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_cas.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_cas.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_cas.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_queue.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_queue.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_queue.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_rgw_gc.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_rgw_gc.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_rgw_gc.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/librados.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/rados_types.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/rados_types.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/librados_fwd.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/librados.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/buffer.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/buffer_fwd.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/inline_memory.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/page.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/crc32c.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/objclass.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/radosstriper/libradosstriper.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/radosstriper/libradosstriper.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rbd/features.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rbd/librbd.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rbd/librbd.hpp -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/librgw.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/include/rados/rgw_file.h -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librados.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librados.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librados.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librados.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libradosstriper.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libradosstriper.so.1 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libradosstriper.so.1.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libradosstriper.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mgr -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mgr" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_argparse.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_daemon.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume_client.py running build running build_ext cythoning rados.pyx to /builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-x86_64-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-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/python3.10 creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/cephfs.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rbd.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rgw.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/python3.10/site-packages copying /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rados.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/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.x86_64/usr/lib64/python3.10/site-packages/rados-2.0.0-py3.10.egg-info running install_scripts writing list of installed files to '/dev/null' running build running build_ext cythoning rbd.pyx to /builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-x86_64-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-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib copying /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rbd.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/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.x86_64/usr/lib64/python3.10/site-packages/rbd-2.0.0-py3.10.egg-info running install_scripts writing list of installed files to '/dev/null' running build running build_ext cythoning cephfs.pyx to /builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-x86_64-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-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib copying /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/cephfs.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/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.x86_64/usr/lib64/python3.10/site-packages/cephfs-2.0.0-py3.10.egg-info running install_scripts writing list of installed files to '/dev/null' running build running build_ext cythoning rgw.pyx to /builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -iquote/builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv -O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fstack-protector-strong -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -D_GNU_SOURCE -fPIC -fwrapv /builddir/build/BUILD/dsms-storage/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 -m64 -march=x86-64-v2 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-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-x86_64-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-x86_64-linux-gnu.so -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -Wl,--build-id=sha1 -g -Xlinker -export-dynamic running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running install_lib copying /builddir/build/BUILD/dsms-storage/build/lib/cython_modules/lib.3/rgw.cpython-310-x86_64-linux-gnu.so -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/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.x86_64/usr/lib64/python3.10/site-packages/rgw-2.0.0-py3.10.egg-info running install_scripts writing list of installed files to '/dev/null' -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/alerts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/alerts/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/alerts/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/balancer -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/balancer/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/balancer/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/HACKING.rst -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/Vagrantfile -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/ceph.repo -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/inventory.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/migrations.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/remotes.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/serve.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/services/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/services/cephadmservice.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/services/container.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/services/iscsi.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/services/monitoring.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/services/nfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/services/osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/template.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/blink_device_light_cmd.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/alertmanager -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/alertmanager/alertmanager.yml.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/grafana -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/grafana/ceph-dashboard.yml.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/grafana/grafana.ini.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/iscsi -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/iscsi/iscsi-gateway.cfg.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/nfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/prometheus -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/templates/services/prometheus/prometheus.yml.j2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/upgrade.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/utils.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/cephadm/vagrant.config.example.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/crash -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/crash/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/crash/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/.coveragerc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/.editorconfig -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/.pylintrc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/HACKING.rst -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/README.rst -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/awsauth.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/cherrypy_backports.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/ci -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/cephadm -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/cephadm/bootstrap-cluster.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/cephadm/ceph_cluster.yml -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/cephadm/run-cephadm-e2e-tests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/cephadm/start-cluster.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/ci/check_grafana_uids.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/constraints.txt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/auth.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/cephfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/cluster_configuration.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/crush_rule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/docs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/erasure_code_profile.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/frontend_logging.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/grafana.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/health.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/home.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/host.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/iscsi.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/logs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/mgr_modules.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/monitor.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/nfsganesha.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/orchestrator.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/perf_counters.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/pool.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/prometheus.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/rbd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/rbd_mirroring.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/rgw.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/role.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/saml2.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/service.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/settings.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/summary.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/task.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/telemetry.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/controllers/user.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/exceptions.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/.editorconfig -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/.htmllintrc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/.prettierignore -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/.prettierrc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/angular.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/babel.config.js -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/browserslist -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/images.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/images.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/iscsi.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/iscsi.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/mirroring.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/block/mirroring.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/configuration.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/configuration.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/crush-map.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/crush-map.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/hosts.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/hosts.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/logs.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/logs.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/mgr-modules.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/monitors.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/monitors.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/osds.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/cluster/osds.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/filesystems -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/filesystems/filesystems.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/filesystems/filesystems.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/nfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/nfs/nfs.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/nfs/nfs.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/orchestrator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/orchestrator/workflow/01-hosts.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/page-helper.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/pools -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/pools/pools.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/pools/pools.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/buckets.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/buckets.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/daemons.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/daemons.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/users.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/rgw/users.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/dashboard.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/dashboard.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/notification.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/notification.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/role-mgmt.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/role-mgmt.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/user-mgmt.e2e-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/integration/ui/user-mgmt.po.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/support -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/support/commands.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/support/index.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/cypress/tsconfig.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/environment.build.js -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/html-linter.config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/i18n.config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/package-lock.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/package.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/proxy.conf.json.sample -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app-routing.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/app.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/block.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-setting/iscsi-setting.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-tabs/iscsi-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-details/iscsi-target-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-discovery-modal/iscsi-target-discovery-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-form/iscsi-target-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-image-settings-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-image-settings-modal/iscsi-target-image-settings-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-image-settings-modal/iscsi-target-image-settings-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-image-settings-modal/iscsi-target-image-settings-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-image-settings-modal/iscsi-target-image-settings-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-iqn-settings-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-iqn-settings-modal/iscsi-target-iqn-settings-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-iqn-settings-modal/iscsi-target-iqn-settings-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-iqn-settings-modal/iscsi-target-iqn-settings-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-iqn-settings-modal/iscsi-target-iqn-settings-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi-target-list/iscsi-target-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/iscsi/iscsi.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal/bootstrap-create-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal/bootstrap-create-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal/bootstrap-create-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-create-modal/bootstrap-create-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-import-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-import-modal/bootstrap-import-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-import-modal/bootstrap-import-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-import-modal/bootstrap-import-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/bootstrap-import-modal/bootstrap-import-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list/daemon-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list/daemon-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list/daemon-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/daemon-list/daemon-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/edit-site-name-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/edit-site-name-modal/edit-site-name-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/edit-site-name-modal/edit-site-name-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/edit-site-name-modal/edit-site-name-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/edit-site-name-modal/edit-site-name-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/image-list/image-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirror-health-color.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirror-health-color.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/mirroring.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/overview/overview.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-mode-modal/pool-edit-mode-response.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-edit-peer-modal/pool-edit-peer-response.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list/pool-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list/pool-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list/pool-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/mirroring/pool-list/pool-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form/rbd-configuration-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form/rbd-configuration-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form/rbd-configuration-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-form/rbd-configuration-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-configuration-list/rbd-configuration-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-details/rbd-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-feature.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-clone-request.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-copy-request.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-create-request.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-edit-request.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-mode.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form-response.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-form.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-form/rbd-parent.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-list/rbd-model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-form/rbd-namespace-form-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list/rbd-namespace-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list/rbd-namespace-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list/rbd-namespace-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-namespace-list/rbd-namespace-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-performance/rbd-performance.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-form/rbd-snapshot-form-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-actions.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-snapshot-list/rbd-snapshot.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-tabs/rbd-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-list/rbd-trash-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-move-modal/rbd-trash-move-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal/rbd-trash-purge-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal/rbd-trash-purge-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal/rbd-trash-purge-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-purge-modal/rbd-trash-purge-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/block/rbd-trash-restore-modal/rbd-trash-restore-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/ceph.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-chart/cephfs-chart.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-clients/cephfs-clients.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-detail/cephfs-detail.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-directories/cephfs-directories.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-list/cephfs-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs-tabs/cephfs-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cephfs/cephfs.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/cluster.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-details/configuration-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form-create-request.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration-form/configuration-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/configuration/configuration.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/crushmap/crushmap.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-details/host-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form/host-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form/host-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form/host-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/host-form/host-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/hosts/hosts.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-device.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-devices/inventory-devices.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory-host.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/inventory/inventory.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/logs/logs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details/mgr-module-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details/mgr-module-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details/mgr-module-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-details/mgr-module-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-form/mgr-module-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-module-list/mgr-module-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/mgr-modules/mgr-modules.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/monitor/monitor.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal/osd-creation-preview-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal/osd-creation-preview-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal/osd-creation-preview-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-creation-preview-modal/osd-creation-preview-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-details/osd-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/devices-selection-change-event.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/devices-selection-clear-event.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/osd-devices-selection-groups.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/osd-devices-selection-groups.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/osd-devices-selection-groups.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-groups/osd-devices-selection-groups.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal/osd-devices-selection-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal/osd-devices-selection-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal/osd-devices-selection-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-devices-selection-modal/osd-devices-selection-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal/osd-flags-indiv-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal/osd-flags-indiv-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal/osd-flags-indiv-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-indiv-modal/osd-flags-indiv-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-flags-modal/osd-flags-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/drive-group.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-feature.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-form/osd-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-list/osd-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-performance-histogram -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-performance-histogram/osd-performance-histogram.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-performance-histogram/osd-performance-histogram.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-performance-histogram/osd-performance-histogram.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-performance-histogram/osd-performance-histogram.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-pg-scrub-modal/osd-pg-scrub-modal.options.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal/osd-recv-speed-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal/osd-recv-speed-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal/osd-recv-speed-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-recv-speed-modal/osd-recv-speed-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal/osd-reweight-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal/osd-reweight-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal/osd-reweight-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-reweight-modal/osd-reweight-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal/osd-scrub-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal/osd-scrub-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal/osd-scrub-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/osd/osd-scrub-modal/osd-scrub-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/active-alert-list/active-alert-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/monitoring-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/monitoring-list/monitoring-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/monitoring-list/monitoring-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/monitoring-list/monitoring-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/monitoring-list/monitoring-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/rules-list/rules-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form/silence-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form/silence-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form/silence-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-form/silence-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list/silence-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list/silence-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list/silence-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-list/silence-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal/silence-matcher-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal/silence-matcher-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal/silence-matcher-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/prometheus/silence-matcher-modal/silence-matcher-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/placement.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/placement.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-daemon-list/service-daemon-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details/service-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details/service-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details/service-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-details/service-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/service-form/service-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/services/services.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/cluster/telemetry/telemetry.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/dashboard/dashboard.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health-pie/health-pie.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/health/health.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card-popover.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-card/info-card.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/info-group/info-group.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mds-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mds-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mgr-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mgr-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mon-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/mon-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/osd-summary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/dashboard/osd-summary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501/nfs-501.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501/nfs-501.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501/nfs-501.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-501/nfs-501.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-cluster-type.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-details/nfs-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client/nfs-form-client.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client/nfs-form-client.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client/nfs-form-client.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form-client/nfs-form-client.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-form/nfs-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs-list/nfs-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/nfs/nfs.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter/performance-counter.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter/performance-counter.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter/performance-counter.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/performance-counter/performance-counter.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/performance-counter/table-performance-counter/table-performance-counter.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/crush-rule-form-modal/crush-rule-form-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/erasure-code-profile-form/erasure-code-profile-form-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-details/pool-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form-data.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-form/pool-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-list/pool-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool-stat.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/pool/pool.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-bucket-mfa-delete.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-bucket-versioning.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-capabilities.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-capability.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-s3-key.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-subuser.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/models/rgw-user-swift-key.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-501/rgw-501.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-details/rgw-bucket-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-form/rgw-bucket-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-bucket-list/rgw-bucket-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-details/rgw-daemon-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-daemon-list/rgw-daemon-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-capability-modal/rgw-user-capability-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-details/rgw-user-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-form/rgw-user-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-list/rgw-user-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-s3-key-modal/rgw-user-s3-key-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-subuser-modal/rgw-user-subuser-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw-user-swift-key-modal/rgw-user-swift-key-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/rgw/rgw.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/ceph-shared.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/device-list/device-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/pg-category.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_hdd_response.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/fixtures/smart_data_version_1_0_nvme_response.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/ceph/shared/smart-list/smart-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/auth.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login-password-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login-password-form/login-password-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/login/login.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-details/role-details.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form-mode.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-form/role-form.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/role-list/role-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso/sso-not-found -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso/sso-not-found/sso-not-found.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso/sso-not-found/sso-not-found.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso/sso-not-found/sso-not-found.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/sso/sso-not-found/sso-not-found.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form-mode.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form-role.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-form/user-form.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-list/user-list.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-password-form -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-password-form/user-password-form.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs/user-tabs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs/user-tabs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs/user-tabs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/auth/user-tabs/user-tabs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/core.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/forbidden/forbidden.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/blank-layout/blank-layout.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout/login-layout.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout/login-layout.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout/login-layout.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/login-layout/login-layout.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/layouts/workbench-layout/workbench-layout.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/about/about.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/administration/administration.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/breadcrumbs/breadcrumbs.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/dashboard-help/dashboard-help.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/identity/identity.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/navigation/navigation.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/navigation/notifications/notifications.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/core/not-found/not-found.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/api.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/auth.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/auth.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/ceph-service.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/cephfs.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/cephfs.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/configuration.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/configuration.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/crush-rule.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/crush-rule.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/erasure-code-profile.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/health.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/health.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/host.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/host.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/iscsi.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/iscsi.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logging.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logging.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logs.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/logs.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/mgr-module.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/mgr-module.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/monitor.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/monitor.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/motd.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/motd.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/nfs.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/nfs.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/orchestrator.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/orchestrator.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/osd.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/osd.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/performance-counter.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/performance-counter.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/pool.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/pool.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/prometheus.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/prometheus.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd-mirroring.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd-mirroring.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rbd.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-bucket.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-bucket.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-daemon.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-daemon.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-site.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-user.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/rgw-user.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/role.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/role.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/scope.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/scope.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/settings.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/settings.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/telemetry.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/telemetry.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/user.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/api/user.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes/crush.node.selection.class.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes/crush.node.selection.class.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/classes/list-with-details.class.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/alert-panel/alert-panel.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button/back-button.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button/back-button.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button/back-button.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/back-button/back-button.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/components.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.types.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/config-option/config-option.types.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/confirmation-modal/confirmation-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal/critical-confirmation-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal/critical-confirmation-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal/critical-confirmation-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/critical-confirmation-modal/critical-confirmation-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/doc/doc.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/form-modal/form-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/grafana/grafana.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/helper/helper.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/language-selector.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/language-selector.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/language-selector.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/language-selector.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/language-selector/supported-languages.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/loading-panel/loading-panel.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/modal/modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/motd/motd.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar/notifications-sidebar.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar/notifications-sidebar.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar/notifications-sidebar.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/notifications-sidebar/notifications-sidebar.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-modal -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-modal/orchestrator-doc-modal.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-modal/orchestrator-doc-modal.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-modal/orchestrator-doc-modal.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-modal/orchestrator-doc-modal.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/orchestrator-doc-panel/orchestrator-doc-panel.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/pwd-expiration-notification -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/pwd-expiration-notification/pwd-expiration-notification.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/pwd-expiration-notification/pwd-expiration-notification.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/pwd-expiration-notification/pwd-expiration-notification.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/pwd-expiration-notification/pwd-expiration-notification.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/refresh-selector/refresh-selector.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select-badges/select-badges.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select-messages.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select-option.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/select/select.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/sparkline/sparkline.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/submit-button/submit-button.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/telemetry-notification/telemetry-notification.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/usage-bar/usage-bar.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/components/view-cache/view-cache.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/constants -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/constants/app.constants.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/datatable.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-actions/table-actions.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value/table-key-value.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value/table-key-value.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value/table-key-value.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table-key-value/table-key-value.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/datatable/table/table.component.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/decorators -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/decorators/cd-encode.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/decorators/cd-encode.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/autofocus.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/autofocus.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/copy2clipboard-button.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/copy2clipboard-button.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/dimless-binary-per-second.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/dimless-binary-per-second.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/dimless-binary.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/dimless-binary.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/directives.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-input-disable.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-input-disable.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-scope.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/form-scope.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/iops.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/iops.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/milliseconds.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/milliseconds.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/password-button.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/password-button.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/trim.directive.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/directives/trim.directive.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/cell-template.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/components.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/icons.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/notification-type.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/unix_errno.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/enum/view-cache-status.enum.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-builder.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-builder.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-group.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-form-group.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-validators.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/forms/cd-validators.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/alertmanager-silence.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/breadcrumbs.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-form-modal-field-config.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-notification.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-notification.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-pwd-expiration-settings.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-pwd-policy-settings.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-action.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-column-filter.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-column-filters-change.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-column.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-fetch-data-context.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-table-selection.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cd-user-config.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/cephfs-directory-models.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/chart-tooltip.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/configuration.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/credentials.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/crush-node.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/crush-rule.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/crush-step.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/daemon.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/devices.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/erasure-code-profile.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/executing-task.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/finished-task.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/flag.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/image-spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/login-response.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/mirroring-summary.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/permission.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/permissions.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/pool-form-info.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/prometheus-alerts.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/service.interface.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/smart.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/summary.model.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/task-exception.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/models/task.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/array.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/array.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean-text.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean-text.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/boolean.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/cd-date.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/cd-date.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-release-name.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-release-name.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-short-version.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ceph-short-version.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless-binary-per-second.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless-binary.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless-binary.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/dimless.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/duration.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/duration.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/empty.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/empty.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/encode-uri.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/encode-uri.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/filter.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/filter.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/health-color.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/health-color.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iops.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iops.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iscsi-backstore.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/iscsi-backstore.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/join.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/join.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/log-priority.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/log-priority.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/map.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/map.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/milliseconds.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/milliseconds.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/not-available.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/not-available.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ordinal.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/ordinal.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/pipes.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/rbd-configuration-source.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/rbd-configuration-source.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/relative-date.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/relative-date.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/round.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/round.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/sanitize-html.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/sanitize-html.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/truncate.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/truncate.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/upper-first.pipe.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/pipes/upper-first.pipe.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/api-interceptor.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/api-interceptor.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-storage.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/auth-storage.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/change-password-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/change-password-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/dep-checker.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/dep-checker.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/device.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/device.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/doc.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/doc.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/feature-toggles.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/formatter.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/formatter.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/js-error-handler.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/language.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/language.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/module-status-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/module-status-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/motd-notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/motd-notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/ngzone-scheduler.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/no-sso-guard.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/no-sso-guard.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/password-policy.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/password-policy.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert-formatter.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert-formatter.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-alert.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-silence-matcher.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/prometheus-silence-matcher.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/rbd-configuration.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/rbd-configuration.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/refresh-interval.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/refresh-interval.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/summary.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/summary.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-list.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-list.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-manager.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-manager.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-message.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-message.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-wrapper.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/task-wrapper.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/telemetry-notification.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/telemetry-notification.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/text-to-download.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/text-to-download.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/time-diff.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/time-diff.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/timer.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/timer.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/url-builder.service.spec.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/services/url-builder.service.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/app/shared/shared.module.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/.gitkeep -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/1500px-Southern_Keeled_Octopus.jpg -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Stacked_RGB_120411_fa_228x228.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Stacked_RGB_120411_fa_348x348.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Stacked_RGB_White_120411_fa_256x256.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Standard_RGB_Reversed_120411_fa.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/Ceph_Logo_Standard_RGB_White_120411_fa.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/ceph_background.gif -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/loading.gif -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/logo-mini.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/notification-icons.png -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/assets/prometheus_logo.svg -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/environments -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/environments/environment.tpl.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/favicon.ico -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/index.html -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/jestGlobalMocks.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.cs.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.de-DE.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.es-ES.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.fr-FR.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.id-ID.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.it-IT.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.ja-JP.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.ko-KR.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.pl-PL.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.pt-BR.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.zh-CN.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/locale/messages.zh-TW.xlf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/main.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/polyfills.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/setupJest.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles/bootstrap-extends.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles/chart-tooltip.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles/defaults.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles/vendor.overrides.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/styles/vendor.variables.scss -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/testing -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/testing/activated-route-stub.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/testing/unit-test-helper.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/tsconfig.app.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/src/typings.d.ts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/tsconfig.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/tsconfig.spec.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/frontend/tslint.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/grafana.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/openapi.yaml -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/debug.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/feature_toggles.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/interfaces.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/lru_cache.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/motd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/pluggy.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/plugin.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/plugins/ttl_cache.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/requirements-lint.txt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/requirements-test.txt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/rest_client.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/run-backend-api-request.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/run-backend-api-tests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/run-backend-rook-api-request.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/run-frontend-e2e-tests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/run-frontend-unittests.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/security.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/access_control.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/auth.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/ceph_service.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/cephfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/cephx.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/exception.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/ganesha.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/iscsi_cli.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/iscsi_client.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/iscsi_config.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/orchestrator.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/progress.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/rbd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/rgw_client.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/sso.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/services/tcmu_service.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/settings.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/dashboard/tools.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/devicehealth -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/devicehealth/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/devicehealth/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/ceph_cluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/ceph_mon_osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/ceph_pool.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/db_relay.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_agent.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_cluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_disk.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_disk_smart.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/metrics/sai_host.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/agent/predictor.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/client_pb2.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/client_pb2_grpc.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/clusterdata.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/cypher.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/grpcclient.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/common/server.crt -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_cloud/task.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_1.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_10.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_104.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_105.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_109.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_112.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_114.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_115.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_118.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_119.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_12.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_120.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_123.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_124.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_125.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_128.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_131.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_134.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_138.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_14.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_141.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_145.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_151.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_16.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_161.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_168.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_169.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_174.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_18.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_182.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_185.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_186.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_195.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_201.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_204.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_206.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_208.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_210.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_212.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_213.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_219.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_221.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_222.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_223.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_225.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_227.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_229.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_230.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_234.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_235.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_236.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_239.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_243.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_27.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_3.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_33.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_36.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_44.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_50.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_57.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_59.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_6.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_61.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_62.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_67.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_69.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_71.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_72.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_78.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_79.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_82.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_85.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_88.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_93.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/prophetstor/svm_97.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat/config.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat/hgst_predictor.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat/hgst_scaler.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat/seagate_predictor.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/models/redhat/seagate_scaler.pkl -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/diskprediction_local/predictor.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/hello -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/influx -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/influx/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/influx/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/insights -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/insights/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/insights/health.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/insights/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/insights/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/iostat -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/iostat/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/iostat/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/k8sevents -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/k8sevents/README.md -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/k8sevents/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/k8sevents/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/k8sevents/rbac_sample.yaml -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/localpool -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/localpool/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/localpool/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/mgr_module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/mgr_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/orchestrator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/orchestrator/README.md -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/orchestrator/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/orchestrator/_interface.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/orchestrator/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/orchestrator/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/osd_perf_query -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/osd_support -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/osd_support/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/osd_support/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/pg_autoscaler -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/pg_autoscaler/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/pg_autoscaler/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/pg_autoscaler/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/progress -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/progress/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/progress/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/progress/test_progress.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/prometheus -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/prometheus/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/prometheus/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rbd_support -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rbd_support/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rbd_support/common.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rbd_support/mirror_snapshot_schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rbd_support/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rbd_support/perf.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rbd_support/schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rbd_support/task.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rbd_support/trash_purge_schedule.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/api -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/api/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/api/config.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/api/crush.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/api/doc.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/api/mon.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/api/osd.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/api/perf.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/api/pool.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/api/request.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/api/server.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/common.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/context.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/decorators.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/hooks.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/restful/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/generate_rook_ceph_client.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/rook_cluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/rook_client -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/_helper.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/cephclient.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/cephcluster.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/cephfilesystem.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/cephnfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/rook/rook_client/ceph/cephobjectstore.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/selftest -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/selftest/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/selftest/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/status -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/status/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/status/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/telegraf -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/telegraf/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/telegraf/basesocket.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/telegraf/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/telegraf/protocol.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/telegraf/utils.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/telemetry -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/telemetry/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/telemetry/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/test_orchestrator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/test_orchestrator/README.md -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/test_orchestrator/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/test_orchestrator/dummy_data.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/test_orchestrator/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/tests -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/async_cloner.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/async_job.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/exception.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/fs_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/nfs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/access.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/clone_index.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/group.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/index.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/lock.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/pin_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/rankevicter.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/resolver.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/snapshot_util.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/subvolume.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/template.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/trash.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/auth_metadata.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/metadata_manager.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/op_sm.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_attrs.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_base.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_v1.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/versions/subvolume_v2.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/operations/volume.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/purge_queue.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/vol_spec.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/fs/volume.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/volumes/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/zabbix -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/zabbix/__init__.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/zabbix/module.py -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/ceph/mgr/zabbix/zabbix_template.xml running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib creating build/lib/ceph_volume copying ceph_volume/__init__.py -> build/lib/ceph_volume copying ceph_volume/configuration.py -> build/lib/ceph_volume copying ceph_volume/decorators.py -> build/lib/ceph_volume copying ceph_volume/exceptions.py -> build/lib/ceph_volume copying ceph_volume/log.py -> build/lib/ceph_volume copying ceph_volume/main.py -> build/lib/ceph_volume copying ceph_volume/process.py -> build/lib/ceph_volume copying ceph_volume/terminal.py -> build/lib/ceph_volume creating build/lib/ceph_volume/api copying ceph_volume/api/__init__.py -> build/lib/ceph_volume/api copying ceph_volume/api/lvm.py -> build/lib/ceph_volume/api creating build/lib/ceph_volume/devices copying ceph_volume/devices/__init__.py -> build/lib/ceph_volume/devices creating build/lib/ceph_volume/drive_group copying ceph_volume/drive_group/__init__.py -> build/lib/ceph_volume/drive_group copying ceph_volume/drive_group/main.py -> build/lib/ceph_volume/drive_group creating build/lib/ceph_volume/inventory copying ceph_volume/inventory/__init__.py -> build/lib/ceph_volume/inventory copying ceph_volume/inventory/main.py -> build/lib/ceph_volume/inventory creating build/lib/ceph_volume/systemd copying ceph_volume/systemd/__init__.py -> build/lib/ceph_volume/systemd copying ceph_volume/systemd/main.py -> build/lib/ceph_volume/systemd copying ceph_volume/systemd/systemctl.py -> build/lib/ceph_volume/systemd creating build/lib/ceph_volume/tests copying ceph_volume/tests/__init__.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/conftest.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_configuration.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_decorators.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_inventory.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_main.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_process.py -> build/lib/ceph_volume/tests copying ceph_volume/tests/test_terminal.py -> build/lib/ceph_volume/tests creating build/lib/ceph_volume/util copying ceph_volume/util/__init__.py -> build/lib/ceph_volume/util copying ceph_volume/util/arg_validators.py -> build/lib/ceph_volume/util copying ceph_volume/util/constants.py -> build/lib/ceph_volume/util copying ceph_volume/util/device.py -> build/lib/ceph_volume/util copying ceph_volume/util/disk.py -> build/lib/ceph_volume/util copying ceph_volume/util/encryption.py -> build/lib/ceph_volume/util copying ceph_volume/util/lsmdisk.py -> build/lib/ceph_volume/util copying ceph_volume/util/prepare.py -> build/lib/ceph_volume/util copying ceph_volume/util/system.py -> build/lib/ceph_volume/util copying ceph_volume/util/templates.py -> build/lib/ceph_volume/util creating build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/__init__.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/activate.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/batch.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/common.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/create.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/deactivate.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/listing.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/main.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/migrate.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/prepare.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/trigger.py -> build/lib/ceph_volume/devices/lvm copying ceph_volume/devices/lvm/zap.py -> build/lib/ceph_volume/devices/lvm creating build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/__init__.py -> build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/activate.py -> build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/common.py -> build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/list.py -> build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/main.py -> build/lib/ceph_volume/devices/raw copying ceph_volume/devices/raw/prepare.py -> build/lib/ceph_volume/devices/raw creating build/lib/ceph_volume/devices/simple copying ceph_volume/devices/simple/__init__.py -> build/lib/ceph_volume/devices/simple copying ceph_volume/devices/simple/activate.py -> build/lib/ceph_volume/devices/simple copying ceph_volume/devices/simple/main.py -> build/lib/ceph_volume/devices/simple copying ceph_volume/devices/simple/scan.py -> build/lib/ceph_volume/devices/simple copying ceph_volume/devices/simple/trigger.py -> build/lib/ceph_volume/devices/simple creating build/lib/ceph_volume/tests/devices copying ceph_volume/tests/devices/__init__.py -> build/lib/ceph_volume/tests/devices copying ceph_volume/tests/devices/test_zap.py -> build/lib/ceph_volume/tests/devices creating build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/__init__.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_activate.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_batch.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_common.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_create.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_deactivate.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_listing.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_migrate.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_prepare.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_trigger.py -> build/lib/ceph_volume/tests/devices/lvm copying ceph_volume/tests/devices/lvm/test_zap.py -> build/lib/ceph_volume/tests/devices/lvm creating build/lib/ceph_volume/tests/devices/raw copying ceph_volume/tests/devices/raw/__init__.py -> build/lib/ceph_volume/tests/devices/raw copying ceph_volume/tests/devices/raw/test_list.py -> build/lib/ceph_volume/tests/devices/raw copying ceph_volume/tests/devices/raw/test_prepare.py -> build/lib/ceph_volume/tests/devices/raw running install_lib creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/configuration.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/decorators.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/exceptions.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/log.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/process.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume copying build/lib/ceph_volume/terminal.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api copying build/lib/ceph_volume/api/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api copying build/lib/ceph_volume/api/lvm.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices copying build/lib/ceph_volume/devices/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/activate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/batch.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/common.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/create.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/deactivate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/listing.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/migrate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/prepare.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/trigger.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm copying build/lib/ceph_volume/devices/lvm/zap.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/activate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/common.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/list.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw copying build/lib/ceph_volume/devices/raw/prepare.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple copying build/lib/ceph_volume/devices/simple/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple copying build/lib/ceph_volume/devices/simple/activate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple copying build/lib/ceph_volume/devices/simple/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple copying build/lib/ceph_volume/devices/simple/scan.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple copying build/lib/ceph_volume/devices/simple/trigger.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group copying build/lib/ceph_volume/drive_group/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group copying build/lib/ceph_volume/drive_group/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory copying build/lib/ceph_volume/inventory/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory copying build/lib/ceph_volume/inventory/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd copying build/lib/ceph_volume/systemd/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd copying build/lib/ceph_volume/systemd/main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd copying build/lib/ceph_volume/systemd/systemctl.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/conftest.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_configuration.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_decorators.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_inventory.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_main.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_process.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests copying build/lib/ceph_volume/tests/test_terminal.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices copying build/lib/ceph_volume/tests/devices/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices copying build/lib/ceph_volume/tests/devices/test_zap.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_activate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_batch.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_common.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_create.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_deactivate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_listing.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_migrate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_prepare.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_trigger.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm copying build/lib/ceph_volume/tests/devices/lvm/test_zap.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw copying build/lib/ceph_volume/tests/devices/raw/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw copying build/lib/ceph_volume/tests/devices/raw/test_list.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw copying build/lib/ceph_volume/tests/devices/raw/test_prepare.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/arg_validators.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/constants.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/device.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/disk.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/encryption.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/lsmdisk.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/prepare.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/system.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util copying build/lib/ceph_volume/util/templates.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/configuration.py to configuration.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/decorators.py to decorators.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/exceptions.py to exceptions.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/log.py to log.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/process.py to process.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/terminal.py to terminal.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api/lvm.py to lvm.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/activate.py to activate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/batch.py to batch.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/common.py to common.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/create.py to create.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/deactivate.py to deactivate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/listing.py to listing.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/migrate.py to migrate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/prepare.py to prepare.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/trigger.py to trigger.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/zap.py to zap.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/activate.py to activate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/common.py to common.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/list.py to list.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/prepare.py to prepare.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/activate.py to activate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/scan.py to scan.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/trigger.py to trigger.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/main.py to main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/systemctl.py to systemctl.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/conftest.py to conftest.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_configuration.py to test_configuration.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_decorators.py to test_decorators.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_inventory.py to test_inventory.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_main.py to test_main.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_process.py to test_process.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_terminal.py to test_terminal.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/test_zap.py to test_zap.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_activate.py to test_activate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_batch.py to test_batch.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_common.py to test_common.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_create.py to test_create.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_deactivate.py to test_deactivate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_listing.py to test_listing.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_migrate.py to test_migrate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_prepare.py to test_prepare.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_trigger.py to test_trigger.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_zap.py to test_zap.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/test_list.py to test_list.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/test_prepare.py to test_prepare.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/arg_validators.py to arg_validators.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/constants.py to constants.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/device.py to device.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/disk.py to disk.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/encryption.py to encryption.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/lsmdisk.py to lsmdisk.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/prepare.py to prepare.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/system.py to system.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/templates.py to templates.cpython-310.pyc running install_egg_info running egg_info creating ceph_volume.egg-info writing ceph_volume.egg-info/PKG-INFO writing dependency_links to ceph_volume.egg-info/dependency_links.txt writing entry points to ceph_volume.egg-info/entry_points.txt writing requirements to ceph_volume.egg-info/requires.txt writing top-level names to ceph_volume.egg-info/top_level.txt writing manifest file 'ceph_volume.egg-info/SOURCES.txt' reading manifest file 'ceph_volume.egg-info/SOURCES.txt' writing manifest file 'ceph_volume.egg-info/SOURCES.txt' Copying ceph_volume.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume-1.0.0-py3.10.egg-info running install_scripts Installing ceph-volume script to /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin Installing ceph-volume-systemd script to /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py creating build creating build/lib creating build/lib/ceph copying ceph/__init__.py -> build/lib/ceph copying ceph/exceptions.py -> build/lib/ceph copying ceph/utils.py -> build/lib/ceph creating build/lib/ceph/deployment copying ceph/deployment/__init__.py -> build/lib/ceph/deployment copying ceph/deployment/drive_group.py -> build/lib/ceph/deployment copying ceph/deployment/hostspec.py -> build/lib/ceph/deployment copying ceph/deployment/inventory.py -> build/lib/ceph/deployment copying ceph/deployment/service_spec.py -> build/lib/ceph/deployment copying ceph/deployment/translate.py -> build/lib/ceph/deployment copying ceph/deployment/utils.py -> build/lib/ceph/deployment creating build/lib/ceph/tests copying ceph/tests/__init__.py -> build/lib/ceph/tests copying ceph/tests/factories.py -> build/lib/ceph/tests copying ceph/tests/test_datetime.py -> build/lib/ceph/tests copying ceph/tests/test_disk_selector.py -> build/lib/ceph/tests copying ceph/tests/test_drive_group.py -> build/lib/ceph/tests copying ceph/tests/test_inventory.py -> build/lib/ceph/tests copying ceph/tests/test_service_spec.py -> build/lib/ceph/tests copying ceph/tests/test_utils.py -> build/lib/ceph/tests copying ceph/tests/utils.py -> build/lib/ceph/tests creating build/lib/ceph/deployment/drive_selection copying ceph/deployment/drive_selection/__init__.py -> build/lib/ceph/deployment/drive_selection copying ceph/deployment/drive_selection/filter.py -> build/lib/ceph/deployment/drive_selection copying ceph/deployment/drive_selection/matchers.py -> build/lib/ceph/deployment/drive_selection copying ceph/deployment/drive_selection/selector.py -> build/lib/ceph/deployment/drive_selection running install_lib creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph copying build/lib/ceph/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph copying build/lib/ceph/exceptions.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph copying build/lib/ceph/utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/drive_group.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/hostspec.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/inventory.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/service_spec.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/translate.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment copying build/lib/ceph/deployment/utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection copying build/lib/ceph/deployment/drive_selection/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection copying build/lib/ceph/deployment/drive_selection/filter.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection copying build/lib/ceph/deployment/drive_selection/matchers.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection copying build/lib/ceph/deployment/drive_selection/selector.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection creating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/__init__.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/factories.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_datetime.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_disk_selector.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_drive_group.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_inventory.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_service_spec.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/test_utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests copying build/lib/ceph/tests/utils.py -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/exceptions.py to exceptions.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/utils.py to utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_group.py to drive_group.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/hostspec.py to hostspec.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/inventory.py to inventory.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/service_spec.py to service_spec.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/translate.py to translate.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/utils.py to utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/filter.py to filter.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/matchers.py to matchers.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/selector.py to selector.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/__init__.py to __init__.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/factories.py to factories.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_datetime.py to test_datetime.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_disk_selector.py to test_disk_selector.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_drive_group.py to test_drive_group.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_inventory.py to test_inventory.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_service_spec.py to test_service_spec.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_utils.py to test_utils.cpython-310.pyc byte-compiling /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/utils.py to utils.cpython-310.pyc running install_egg_info running egg_info creating ceph.egg-info writing ceph.egg-info/PKG-INFO writing dependency_links to ceph.egg-info/dependency_links.txt writing requirements to ceph.egg-info/requires.txt writing top-level names to ceph.egg-info/top_level.txt writing manifest file 'ceph.egg-info/SOURCES.txt' reading manifest file 'ceph.egg-info/SOURCES.txt' writing manifest file 'ceph.egg-info/SOURCES.txt' Copying ceph.egg-info to /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph-1.0.0-py3.10.egg-info running install_scripts -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-bluestore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-bluestore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_generic.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_sse3.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_sse4.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_lrc.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec_generic.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec_sse3.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec_sse4.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_clay.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_isa.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_snappy.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_snappy.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_snappy.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_zlib.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_zlib.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_zlib.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_zstd.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_zstd.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_zstd.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_lz4.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_lz4.so.2 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_lz4.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rados -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rados" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_scratchtool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_scratchtool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_scratchtoolpp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_scratchtoolpp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_radosacl -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_radosacl" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/ceph-monstore-update-crush.sh -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-osdomap-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-osdomap-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-monstore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-monstore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-objectstore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-objectstore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-client-debug -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-client-debug" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-kvstore-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-kvstore-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-conf -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-conf" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/crushtool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/crushtool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/monmaptool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/monmaptool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/osdmaptool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/osdmaptool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-diff-sorted -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_psim -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_psim" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-authtool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-authtool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-dedup-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-dedup-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-journal-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-journal-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-table-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-table-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-data-scan -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-data-scan" to "/usr/lib64/ceph" running install /usr/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_py running build_scripts creating build creating build/scripts-3.10 copying and adjusting cephfs-shell -> build/scripts-3.10 changing mode of build/scripts-3.10/cephfs-shell from 644 to 755 running install_lib 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.x86_64/usr/lib/python3.10/site-packages/cephfs_shell-0.0.1-py3.10.egg-info running install_scripts copying build/scripts-3.10/cephfs-shell -> /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin changing mode of /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-shell to 755 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-mirror -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-mirror" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-nbd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-nbd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-immutable-object-cache -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-immutable-object-cache" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-dencoder -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-dencoder" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-erasure-code-tool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-erasure-code-tool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_kvstorebench -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_kvstorebench" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw_meta -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw_meta" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_bench_log -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_bench_log" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_multi_stress_watch -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_multi_stress_watch" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_objectstore_bench -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_objectstore_bench" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_omapbench -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_omapbench" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_local -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_local" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_filejournal -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_filejournal" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_stress_watch -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_stress_watch" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_admin_socket_output -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_admin_socket_output" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_hello -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_hello" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_lock -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_lock" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_log -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_log" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_numops -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_numops" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_sdk -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_sdk" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_journal -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_journal" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rbd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rbd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_refcount -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_refcount" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_lua -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_lua" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw_gc -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw_gc" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_queue -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_queue" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_erasure_code_benchmark -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_erasure_code_benchmark" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_trim_caps -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_trim_caps" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_ino_release_cb -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_ino_release_cb" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_reclaim -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_reclaim" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_lazyio -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_lazyio" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_access -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_access" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_aio -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_aio" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_aio_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_aio_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_asio -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_asio" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_c_read_operations -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_c_read_operations" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_c_write_operations -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_c_write_operations" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_cmd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_cmd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_cmd_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_cmd_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_io -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_io" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_io_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_io_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_list -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_list" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_lock -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_lock" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_lock_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_lock_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_misc -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_misc" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_misc_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_misc_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_pool -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_pool" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_service -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_service" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_service_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_service_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_snapshots -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_snapshots" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_snapshots_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_snapshots_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_stat -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_stat" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_stat_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_stat_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_tier_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_tier_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_watch_notify -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_watch_notify" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_watch_notify_pp -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_watch_notify_pp" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_striping -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_striping" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_io -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_io" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_aio -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_aio" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_librbd_fsx -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_librbd_fsx" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_librbd -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_librbd" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_workloadgen -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_workloadgen" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_memory_target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_log_rss_usage -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_rss_usage -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_async_driver -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_async_driver" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_msgr -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_msgr" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_async_networkstack -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_async_networkstack" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_msgr_server -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_msgr_server" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_msgr_client -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_msgr_client" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_objectstore -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_objectstore" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_objectstore -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_objectstore" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_keyvaluedb -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_keyvaluedb" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_filestore_idempotent_sequence -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_filestore_idempotent_sequence" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_bmap_alloc_replay -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_bmap_alloc_replay" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_osd_stale_read -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_osd_stale_read" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_objectcacher_stress -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_objectcacher_stress" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_immutable_obj_cache -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_immutable_obj_cache" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_obj -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_obj" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_throttle -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_throttle" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_gc_log -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_gc_log" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rbd_mirror -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rbd_mirror" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rbd_mirror_random_write -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rbd_mirror_random_write" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_delete_pools_parallel -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_delete_pools_parallel" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_list_parallel -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_list_parallel" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_open_pools_parallel -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_open_pools_parallel" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_lazy_omap_stats -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_lazy_omap_stats" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/crypto/libceph_crypto_openssl.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/crypto/libceph_crypto_isal.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/crypto/libceph_crypto_isal.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/crypto/libceph_crypto_isal.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/bash_completion.d/ceph -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/bash_completion.d/rados -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/bash_completion.d/rbd -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/bash_completion.d/radosgw-admin -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/mount.ceph -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/mount.ceph" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librbd.so.1.12.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librbd.so.1 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librbd.so.1.12.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librbd.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-fuse -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-fuse" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay-prep -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay-prep" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_kvs.so.1.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_kvs.so.1 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_kvs.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libradosgw.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libradosgw.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libradosgw.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libradosgw.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-admin -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-admin" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-es -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-es" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-token -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-token" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-object-expirer -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-object-expirer" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw.so.2.0.0 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw.so.2 -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw.so.2.0.0" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw.so -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_rgw_jsonparser -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_rgw_jsonparser" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_rgw_multiparser -- Set runtime path of "/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_rgw_multiparser" to "/usr/lib64/ceph" -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rgw-gap-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rgw-gap-list-comparator -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rgw-orphan-list -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-syn.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-conf.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-authtool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-kvstore-tool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/rados.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-post-file.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-dencoder.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-deploy.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/crushtool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-run.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/mount.ceph.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-create-keys.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-debugpack.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-clsinfo.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-volume.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-volume-systemd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-osd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/osdmaptool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-bluestore-tool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-mon.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/monmaptool.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-mds.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/librados-config.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/cephadm.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-fuse.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/rbd-fuse.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/radosgw.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/radosgw-admin.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/rgw-orphan-list.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-diff-sorted.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-rbdnamer.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/rbd-mirror.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/rbd-replay-many.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/rbd-replay-prep.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/rbd-replay.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/rbdmap.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/rbd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/rbd-nbd.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph-immutable-object-cache.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/man/man8/ceph_selinux.8 -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-crash.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-fuse@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-mds@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-mgr@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-mon@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-osd@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-radosgw@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-rbd-mirror@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-immutable-object-cache@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/rbdmap.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-fuse.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-osd.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-mgr.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-mon.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-mds.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-radosgw.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-rbd-mirror.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-immutable-object-cache.target -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system/ceph-volume@.service -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/ceph-cluster.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/cephfs-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/host-details.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/hosts-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/osd-device-details.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/osds-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/pool-detail.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/pool-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/radosgw-detail.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/radosgw-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/radosgw-sync-overview.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/rbd-details.json -- Installing: /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/grafana/dashboards/ceph-dashboard/rbd-overview.json + rm -f /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64//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.x86_64/etc/ceph/rbdmap + install -m 0644 -D etc/sysconfig/ceph /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/sysconfig/ceph + install -m 0644 -D systemd/ceph.tmpfiles.d /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/tmpfiles.d/ceph-common.conf + install -m 0644 -D systemd/50-ceph.preset /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/systemd/system-preset/50-ceph.preset + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin + install -m 0644 -D src/logrotate.conf /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/logrotate.d/ceph + chmod 0644 /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/doc/ceph/sample.ceph.conf + install -m 0644 -D COPYING /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/doc/ceph/COPYING + install -m 0644 -D etc/sysctl/90-ceph-osd.conf /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/sysctl.d/90-ceph-osd.conf + install -m 0755 src/cephadm/cephadm /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/cephadm + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/cephadm + chmod 0700 /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/cephadm + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/cephadm/.ssh + chmod 0700 /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/cephadm/.ssh + touch /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/cephadm/.ssh/authorized_keys + chmod 0600 /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/cephadm/.ssh/authorized_keys + install -m 0644 -D udev/50-rbd.rules /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/udev/rules.d/50-rbd.rules + install -m 0440 -D sudoers.d/ceph-osd-smartctl /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/sudoers.d/ceph-osd-smartctl + pathfix.py -pni '/usr/bin/python3 -s' /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-authtool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-bluestore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-client-debug /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-clsinfo /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-conf /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-coverage /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-crash /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-debugpack /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-dedup-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-dencoder /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-diff-sorted /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-erasure-code-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-fuse /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-immutable-object-cache /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-kvstore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mds /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mgr /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mon /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-monstore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-objectstore-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-osd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-osdomap-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-post-file /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-rbdnamer /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-run /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-syn /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_bench_log /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_erasure_code_benchmark /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_kvstorebench /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_multi_stress_watch /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_objectstore_bench /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_omapbench /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_local /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_msgr_client /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_msgr_server /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_objectstore /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_psim /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_radosacl /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_rgw_jsonparser /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_rgw_multiparser /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_scratchtool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_scratchtoolpp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_admin_socket_output /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_async_driver /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_async_networkstack /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_bmap_alloc_replay /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_hello /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_journal /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_lock /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_log /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_lua /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_numops /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_queue /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rbd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_refcount /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw_gc /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw_meta /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_sdk /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_filejournal /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_filestore_idempotent_sequence /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_immutable_obj_cache /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_ino_release_cb /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_keyvaluedb /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_lazy_omap_stats /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_access /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_lazyio /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_reclaim /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_librbd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_librbd_fsx /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_log_rss_usage /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_memory_target /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_rss_usage /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_workloadgen /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_msgr /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_objectcacher_stress /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_objectstore /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_osd_stale_read /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_aio /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_aio_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_asio /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_c_read_operations /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_c_write_operations /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_cmd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_cmd_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_io /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_io_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_list /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_lock /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_lock_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_misc /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_misc_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_pool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_service /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_service_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_snapshots /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_snapshots_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_stat /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_stat_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_tier_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_watch_notify /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_watch_notify_pp /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_delete_pools_parallel /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_list_parallel /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_open_pools_parallel /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_aio /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_io /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_striping /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rbd_mirror /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rbd_mirror_random_write /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_gc_log /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_obj /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_throttle /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_stress_watch /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_trim_caps /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-data-scan /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-journal-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-shell /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-table-tool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/crushtool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/librados-config /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/monmaptool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/osdmaptool /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rados /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-admin /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-es /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-object-expirer /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-token /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-fuse /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-mirror /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-nbd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay-many /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay-prep /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbdmap /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rgw-gap-list /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rgw-gap-list-comparator /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rgw-orphan-list /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-authtool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-bluestore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-client-debug: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-clsinfo: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-conf: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-coverage: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-crash: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-debugpack: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-dedup-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-dencoder: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-diff-sorted: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-erasure-code-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-fuse: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-immutable-object-cache: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-kvstore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mds: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mgr: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mon: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-monstore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-objectstore-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-osd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-osdomap-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-post-file: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-rbdnamer: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-run: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-syn: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_bench_log: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_erasure_code_benchmark: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_kvstorebench: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_multi_stress_watch: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_objectstore_bench: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_omapbench: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_local: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_msgr_client: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_msgr_server: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_objectstore: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_psim: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_radosacl: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_rgw_jsonparser: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_rgw_multiparser: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_scratchtool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_scratchtoolpp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_admin_socket_output: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_async_driver: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_async_networkstack: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_bmap_alloc_replay: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_hello: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_journal: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_lock: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_log: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_lua: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_numops: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_queue: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rbd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_refcount: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw_gc: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw_meta: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_sdk: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_filejournal: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_filestore_idempotent_sequence: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_immutable_obj_cache: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_ino_release_cb: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_keyvaluedb: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_lazy_omap_stats: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_access: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_lazyio: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_reclaim: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_librbd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_librbd_fsx: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_log_rss_usage: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_memory_target: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_rss_usage: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_workloadgen: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_msgr: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_objectcacher_stress: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_objectstore: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_osd_stale_read: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_aio: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_aio_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_asio: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_c_read_operations: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_c_write_operations: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_cmd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_cmd_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_io: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_io_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_list: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_lock: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_lock_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_misc: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_misc_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_pool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_service: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_service_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_snapshots: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_snapshots_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_stat: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_stat_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_tier_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_watch_notify: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_watch_notify_pp: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_delete_pools_parallel: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_list_parallel: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_open_pools_parallel: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_aio: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_io: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_striping: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rbd_mirror: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rbd_mirror_random_write: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_gc_log: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_obj: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_throttle: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_stress_watch: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_trim_caps: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-data-scan: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-journal-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-shell: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-table-tool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/crushtool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/librados-config: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/monmaptool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/osdmaptool: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rados: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-admin: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-es: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-object-expirer: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-token: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-fuse: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-mirror: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-nbd: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay-many: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay-prep: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbdmap: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rgw-gap-list: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rgw-gap-list-comparator: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rgw-orphan-list: no change + pathfix.py -pni '/usr/bin/python3 -s' /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/ceph-create-keys /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/ceph-volume /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/ceph-volume-systemd /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/cephadm /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/mount.ceph /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/mount.fuse.ceph /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/ceph-create-keys: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/ceph-volume: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/ceph-volume-systemd: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/cephadm: updating /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/mount.ceph: no change /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/mount.fuse.ceph: updating + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/etc/ceph + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/run/ceph + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/log/ceph + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/tmp + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/mon + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/osd + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/mds + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/mgr + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/crash + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/crash/posted + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/radosgw + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/bootstrap-osd + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/bootstrap-mds + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/bootstrap-rgw + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/bootstrap-mgr + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/bootstrap-rbd + mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/var/lib/ceph/bootstrap-rbd-mirror + install -m 644 -D monitoring/prometheus/alerts/ceph_default_alerts.yml /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/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.x86_64/usr/lib/python3.10/site-packages + python_binary='env PYTHONHASHSEED=0 /usr/bin/python3' + bytecode_compilation_path=/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages + env PYTHONHASHSEED=0 /usr/bin/python3 -s -B -m compileall -o 0 -o 1 -s /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64 -p / --hardlink-dupes /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_group.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/filter.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/matchers.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/drive_selection/selector.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/hostspec.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/inventory.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/service_spec.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/translate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/deployment/utils.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/exceptions.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/factories.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_datetime.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_disk_selector.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_drive_group.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_inventory.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_service_spec.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/test_utils.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/tests/utils.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph/utils.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph-1.0.0-py3.10.egg-info'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_argparse.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_daemon.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/api/lvm.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/configuration.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/decorators.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/batch.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/common.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/create.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/deactivate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/listing.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/migrate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/trigger.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/lvm/zap.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/common.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/list.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/raw/prepare.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/scan.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/devices/simple/trigger.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/drive_group/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/exceptions.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/inventory/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/log.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/process.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/systemd/systemctl.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/terminal.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/conftest.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/__init__.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_activate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_batch.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_common.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_create.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_deactivate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_listing.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_migrate.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_trigger.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/lvm/test_zap.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/test_list.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/raw/test_prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/devices/test_zap.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_configuration.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_decorators.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_inventory.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_main.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_process.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/tests/test_terminal.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/__init__.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/arg_validators.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/constants.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/device.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/disk.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/encryption.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/lsmdisk.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/prepare.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/system.py'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume/util/templates.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume-1.0.0-py3.10.egg-info'... Compiling '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/ceph_volume_client.py'... Listing '/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10/site-packages/cephfs_shell-0.0.1-py3.10.egg-info'... + /usr/bin/find-debuginfo -j80 --strict-build-id -m -i --build-id-seed 1.0-0.an23 --unique-debug-suffix -1.0-0.an23.x86_64 --unique-debug-src-base dsms-storage-1.0-0.an23.x86_64 -S debugsourcefiles.list /builddir/build/BUILD/dsms-storage extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-fuse extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-bluestore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-authtool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-dencoder extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-immutable-object-cache extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-erasure-code-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-client-debug extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-diff-sorted extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mds extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-conf extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mon extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-kvstore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-dedup-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-monstore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-mgr extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-objectstore-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-osd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-osdomap-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph-syn extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_erasure_code_benchmark extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_bench_log extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_kvstorebench extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_multi_stress_watch extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_objectstore_bench extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_omapbench extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_local extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_msgr_server extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_psim extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_objectstore extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_perf_msgr_client extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_rgw_multiparser extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_rgw_jsonparser extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_scratchtool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_scratchtoolpp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_radosacl extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_admin_socket_output extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_async_driver extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_async_networkstack extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_hello extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_log extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_bmap_alloc_replay extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_lock extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_journal extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rbd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_lua extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_numops extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_queue extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_refcount extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw_meta extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_rgw_gc extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_immutable_obj_cache extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_filejournal extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_cls_sdk extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_keyvaluedb extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_filestore_idempotent_sequence extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_lazy_omap_stats extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_access extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_ino_release_cb extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_lazyio extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_librbd_fsx extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_log_rss_usage extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_memory_target extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_libcephfs_reclaim extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_msgr extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_aio_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_objectstore extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_objectcacher_stress extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_librbd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_asio extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_workloadgen extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_cmd_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_mon_rss_usage extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_aio extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_osd_stale_read extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_c_read_operations extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_c_write_operations extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_cmd 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. 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.x86_64/usr/bin/ceph_test_rados_api_io 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.x86_64/usr/bin/ceph_test_rados_api_list extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_io_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_lock Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_lock_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_misc 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.x86_64/usr/bin/ceph_test_rados_api_misc_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. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_pool Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_service 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.x86_64/usr/bin/ceph_test_rados_api_service_pp Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_snapshots extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_snapshots_pp 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.x86_64/usr/bin/ceph_test_rados_api_stat extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_stat_pp extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_tier_pp 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.x86_64/usr/bin/ceph_test_rados_api_watch_notify extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_delete_pools_parallel extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_api_watch_notify_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. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_list_parallel 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.x86_64/usr/bin/ceph_test_rados_open_pools_parallel Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_aio extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rados_striper_api_io 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.x86_64/usr/bin/ceph_test_rados_striper_api_striping extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rbd_mirror Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rbd_mirror_random_write Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_gc_log extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_obj Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_rgw_throttle Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/ceph_test_stress_watch 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.x86_64/usr/bin/ceph_test_trim_caps Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-data-scan extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/cephfs-journal-tool 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.x86_64/usr/bin/cephfs-table-tool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/crushtool Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/librados-config 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.x86_64/usr/bin/monmaptool Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/osdmaptool extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rados Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-admin 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.x86_64/usr/bin/radosgw-token extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-object-expirer extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/radosgw-es 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.x86_64/usr/bin/rbd extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-fuse extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-mirror extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-nbd Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/bin/rbd-replay-prep extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_lz4.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. Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/compressor/libceph_snappy.so.2.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.x86_64/usr/lib64/ceph/compressor/libceph_zlib.so.2.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.x86_64/usr/lib64/ceph/compressor/libceph_zstd.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/crypto/libceph_crypto_isal.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.x86_64/usr/lib64/ceph/crypto/libceph_crypto_openssl.so Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_clay.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_isa.so Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure.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. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_generic.so Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_sse3.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_jerasure_sse4.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_lrc.so 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.x86_64/usr/lib64/ceph/erasure-code/libec_shec.so Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec_generic.so 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.x86_64/usr/lib64/ceph/erasure-code/libec_shec_sse3.so Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/erasure-code/libec_shec_sse4.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/ceph/libceph-common.so.2 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.x86_64/usr/lib64/libcephfs.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libos_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libosd_tp.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.x86_64/usr/lib64/librados_tp.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librados.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/libradosgw.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/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. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librbd.so.1.12.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librbd_tp.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.x86_64/usr/lib64/librgw.so.2.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw_op_tp.so.1.0.0 Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/python3.10/site-packages/rados.cpython-310-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/librgw_rados_tp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/python3.10/site-packages/cephfs.cpython-310-x86_64-linux-gnu.so 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.x86_64/usr/lib64/python3.10/site-packages/rbd.cpython-310-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/python3.10/site-packages/rgw.cpython-310-x86_64-linux-gnu.so extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_cas.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.x86_64/usr/lib64/rados-classes/libcls_cephfs.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_hello.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/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. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_kvs.so.1.0.0 Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_lock.so.1.0.0 Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_log.so.1.0.0 Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_lua.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/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. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_otp.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_queue.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.x86_64/usr/lib64/rados-classes/libcls_rbd.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_refcount.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_rgw.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_rgw_gc.so.1.0.0 Support for debuginfod is not compiled into GDB. extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_sdk.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_timeindex.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/rados-classes/libcls_user.so.1.0.0 Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. 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.x86_64/usr/lib64/rados-classes/libcls_version.so.1.0.0 extracting debug info from /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/sbin/mount.ceph Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. Support for debuginfod is not compiled into GDB. 99922 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/anolis/brp-ldconfig + COMPRESS='zstd -f --rm -19 -T0' + COMPRESS_EXT=.zst + /usr/lib/rpm/brp-compress + /usr/lib/rpm/anolis/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/anolis/clean_perl + /usr/lib/rpm/anolis/check_elf_files Warning: unused libraries in /usr/lib64/libcephfs.so.2.0.0: libcrypto.so.3 libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/lib64/librados.so.2.0.0: libblkid.so.1 libcrypto.so.3 libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/lib64/libradosstriper.so.1.0.0: libcrypto.so.3 libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/lib64/librbd.so.1.12.0: libresolv.so.2 libudev.so.1 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libibverbs.so.1 librdmacm.so.1 libm.so.6 Warning: unused libraries in /usr/lib64/libradosgw.so.2.0.0: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 liblber.so.2 liboath.so.0 Warning: unused libraries in /usr/lib64/librgw.so.2.0.0: libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 liblber.so.2 liboath.so.0 Warning: unused libraries in /usr/lib64/ceph/libceph-common.so.2: libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_regex.so.1.81.0 Warning: unused libraries in /usr/lib64/ceph/erasure-code/libec_jerasure.so: libm.so.6 Warning: unused libraries in /usr/lib64/ceph/erasure-code/libec_shec.so: libm.so.6 Warning: unused libraries in /usr/lib64/ceph/erasure-code/libec_isa.so: libm.so.6 Warning: unused libraries in /usr/lib64/python3.10/site-packages/rados.cpython-310-x86_64-linux-gnu.so: libm.so.6 Warning: unused libraries in /usr/lib64/python3.10/site-packages/rbd.cpython-310-x86_64-linux-gnu.so: libcrypt.so.2 libm.so.6 Warning: unused libraries in /usr/lib64/python3.10/site-packages/cephfs.cpython-310-x86_64-linux-gnu.so: libm.so.6 Warning: unused libraries in /usr/lib64/python3.10/site-packages/rgw.cpython-310-x86_64-linux-gnu.so: libcrypt.so.2 libm.so.6 Warning: unused libraries in /usr/bin/ceph-mon: libresolv.so.2 libaio.so.1 libfuse3.so.3 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph-osd: libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_regex.so.1.81.0 Warning: unused libraries in /usr/bin/ceph-mds: libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libresolv.so.2 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph-syn: libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph-fuse: libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph-mgr: libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph-bluestore-tool: libceph-common.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libblkid.so.1 libudev.so.1 libibverbs.so.1 librdmacm.so.1 libresolv.so.2 Warning: unused libraries in /usr/bin/rados: libceph-common.so.2 libresolv.so.2 libboost_thread.so.1.81.0 libboost_system.so.1.81.0 libboost_chrono.so.1.81.0 libboost_atomic.so.1.81.0 libboost_random.so.1.81.0 libboost_program_options.so.1.81.0 libboost_date_time.so.1.81.0 libboost_iostreams.so.1.81.0 libboost_regex.so.1.81.0 libcrypto.so.3 libudev.so.1 libibverbs.so.1 librdmacm.so.1 Warning: unused libraries in /usr/bin/ceph_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 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 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 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 _ZN8Objecter9op_submitEPNS_2OpEPmPi _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN9MonClient21get_monmap_and_configEv _ZN8Objecter22wait_for_latest_osdmapEP7Context _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjPc _Z18ceph_flags_to_modei _Z18ceph_caps_for_modei _ZN8Objecter8have_mapEj _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _Z18common_init_finishPN4ceph6common11CephContextE _ZN6Thread6createEPKcm _ZNK10EntityName6get_idB5cxx11Ev _ZN17ceph_lock_state_t8add_lockER13ceph_filelockbbPb _ZNK12CrushWrapper25get_full_location_orderedEiRSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ESaIS8_EE _ZN9MonClient8shutdownEv _ZNK5FSMap20find_mds_gid_by_nameESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZN4ceph6common12PerfCountersD1Ev _Z16ceph_mds_op_namei _ZN15cap_reconnect_t10decode_oldERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Readahead11inc_pendingEi _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZNK16feature_bitset_t6encodeERN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _ZN4ceph6common19PerfCountersBuilder8add_timeEiPKcS3_S3_i _ZN4ceph6common12PerfCounters3incEim _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt6vectorI12ObjectExtentSaISA_EEm _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN4ceph6buffer7v15_2_04list6spliceEjjPS2_ _ZNK4ceph6buffer7v15_2_04list16get_wasted_spaceEv _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9Readahead22set_max_readahead_sizeEm _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _ZN4ceph6buffer7v15_2_04list5claimERS2_ _ZN9Readahead22set_min_readahead_sizeEm _ZN9SafeTimer12cancel_eventEP7Context _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjRS2_ _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _ZN17ceph_lock_state_tD1Ev _Z19ceph_str_hash_validi _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZNK8Objecter16osdmap_full_flagEv _ZN8Objecter12wait_for_mapEjP7Contexti _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4seekEj _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_ _Z19ceph_str_hash_linuxPKcj _ZN21snaprealm_reconnect_t10decode_oldERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z18git_version_to_strv _ZNK5FSMap13print_summaryEPN4ceph9FormatterEPSo _ZN9Readahead22get_min_readahead_sizeEv _ZN16feature_bitset_tC1ERKSt6vectorImSaImEE _ZN8Objecter17maybe_request_mapEv _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZlsRSoRK12quota_info_t _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN4ceph6common12PerfCounters4tincEi7utime_t _ZN8Objecter23enable_blacklist_eventsEv _ZN8Finisher4stopEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN9Readahead22get_max_readahead_sizeEv _ZN18CephInitParametersC1Ej _ZNK15cap_reconnect_t6encodeERN4ceph6buffer7v15_2_04listE _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN9Readahead6updateEmmm _ZNK6OSDMap14find_osd_on_ipERK13entity_addr_t _Z21pretty_version_to_strB5cxx11v _ZNK13file_layout_t4dumpEPN4ceph9FormatterE _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/librados.so.2.0.0: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/libradosstriper.so.1.0.0: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph6buffer7v15_2_05errorE _ZTV7Message _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN10shard_id_t8NO_SHARDE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _ZN11JSONObjIterdeEv _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN6ThreadD2Ev _ZN13file_layout_t11from_legacyERK16ceph_file_layout _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/librbd.so.1.12.0: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTI10ThreadPool _ZTI9SafeTimer _ZN10ThreadPool18handle_conf_changeERKN4ceph6common11ConfigProxyERKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessISB_ESaISB_EE _ZN10ThreadPool6workerEPNS_10WorkThreadE _ZTI6Thread _ZTIN4ceph6common16RefCountedObjectE _ZN4ceph11_page_shiftE _ZTVN4ceph6common16RefCountedObjectE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZN9pg_pool_t20APPLICATION_NAME_RBDE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_05errorE _ZN7Striper15get_num_objectsERK13file_layout_tm _ZN4ceph6common12PerfCounters4tsetEi7utime_t _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN10ThreadPoolC1EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN9Readahead20set_trigger_requestsEi _ZN6ThreadC2Ev _ZN10ThreadPoolC2EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN4ceph6common12PerfCounters3setEim _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9SafeTimerD2Ev _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK4ceph6common12PerfCounters8get_nameB5cxx11Ev _ZN10ThreadPoolD2Ev _ZN9ReadaheadD1Ev _ZN14SimpleThrottle8start_opEv _ZN9Readahead14set_alignmentsERKSt6vectorImSaImEE _ZN15OrderedThrottleD1Ev _ZNK6Thread10is_startedEv _ZN4ceph6bufferlsERSoRKNS0_7v15_2_04listE _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN15OrderedThrottle8start_opEP7Context _Z19ceph_version_to_strv _ZN8Finisher14wait_for_emptyEv _ZN11md_config_tD1Ev _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN19TokenBucketThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmmP9SafeTimerPSt5mutex _ZN14AsyncOpTracker12wait_for_opsEP7Context _ZN14AsyncOpTracker8start_opEv _ZN19TokenBucketThrottle6Bucket3getEm _Z21ceph_entity_type_namei _ZN6librbd24rbd_features_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSo _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZN14AsyncOpTracker9finish_opEv _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt3mapI8object_tSt6vectorI12ObjectExtentSaISC_EESt4lessISA_ESaISt4pairIKSA_SE_EEEm _ZN9ReadaheadC1Ev _ZN14SimpleThrottle12wait_for_retEv _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN9SafeTimerC2EPN4ceph6common11CephContextERSt5mutexb _ZN6librbd22rbd_features_to_stringB5cxx11EmPSo _ZN15OrderedThrottleC1Emb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextEPcm _ZN6ThreadD2Ev _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN11md_config_tC1ER12ConfigValuesRK13ConfigTrackerb _ZN10ThreadPool4stopEb _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN9Readahead11dec_pendingEi _ZN9SafeTimer12add_event_atENSt6chrono10time_pointIN4ceph11time_detail10real_clockENS0_8durationImSt5ratioILl1ELl1000000000EEEEEEP7Context _ZN19TokenBucketThrottleD1Ev _ZN9SafeTimer4initEv _ZN10ThreadPool5startEv _ZN9SafeTimer8shutdownEv _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listEb _ZlsRSoPK8sockaddr _ZN7Striper14extent_to_fileEPN4ceph6common11CephContextEP13file_layout_tmmmRSt6vectorISt4pairImmESaIS8_EE _ZN14AsyncOpTrackerD1Ev _ZN7Striper17StripedReadResult18add_partial_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listERKSt6vectorISt4pairImmESaISB_EE _ZN4ceph6bufferlsERSoRKNS0_7v15_2_05errorE _ZN15OrderedThrottle6end_opEi _ZN14AsyncOpTracker5emptyEv _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPK13file_layout_tmmmmPN5boost9container12small_vectorIN7striper23LightweightObjectExtentELm4EvvEE _ZN9Readahead6updateERKSt6vectorISt4pairImmESaIS2_EEm _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextEPSt3mapImmSt4lessImESaISt4pairIKmmEEEPNS1_6buffer7v15_2_04listE _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN7Striper17StripedReadResult25add_partial_sparse_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listERKSt3mapImmSt4lessImESaISt4pairIKmmEEEmRKN5boost9container12small_vectorISC_ImmELm4EvvEE _ZN6Thread6createEPKcm _ZN4ceph6common12PerfCountersD1Ev _ZN9Readahead11inc_pendingEi _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common19PerfCountersBuilder8add_timeEiPKcS3_S3_i _ZN4ceph6common12PerfCounters3incEim _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt6vectorI12ObjectExtentSaISA_EEm _ZNK14SimpleThrottle13pending_errorEv _ZN15OrderedThrottle12wait_for_retEv _ZN9Readahead22set_max_readahead_sizeEm _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _ZN19TokenBucketThrottle21set_schedule_tick_minEm _ZN14AsyncOpTrackerC1Ev _ZN9SafeTimer12cancel_eventEP7Context _ZNK4ceph6common16RefCountedObject4_getEv _ZNK11md_config_t11find_optionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN19TokenBucketThrottle9set_limitEmm _ZNK4ceph6common16RefCountedObject3putEv _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZN10ThreadPool5drainEPNS_10WorkQueue_E _ZN7Striper17StripedReadResult18add_partial_resultEPN4ceph6common11CephContextEONS1_6buffer7v15_2_04listERKN5boost9container12small_vectorISt4pairImmELm4EvvEE _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZN14SimpleThrottleD1Ev _ZN9Readahead16wait_for_pendingEP7Context _ZN14SimpleThrottleC1Emb _ZN14SimpleThrottle6end_opEi _ZNK15OrderedThrottle13pending_errorEv _ZN8Finisher4stopEv _ZN11json_spirit4readERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_10Value_implINS_10Config_mapIS5_EEEE _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/libradosgw.so.2.0.0: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTI6Thread _ZTI16OutputDataSocket _ZN16OutputDataSocket5entryEv _ZTIN4ceph6common16RefCountedObjectE _ZTIN4ceph9FormatterE _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph6global20g_assert_thread_nameE _ZN4ceph6global10g_eio_pathE _ZN4ceph6global13g_eio_devnameE _ZN4ceph6global12g_eio_lengthE _ZN9pg_pool_t20APPLICATION_NAME_RGWE _ZN4ceph6global11g_eio_errorE _ZN4ceph6global13g_assert_funcE _ZN4ceph6global13g_assert_lineE _ZN4ceph6global13g_assert_fileE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph14ResolvHWrapperE _ZTVN4ceph6buffer7v15_2_05errorE g_code_env _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6global12g_eio_offsetE _ZTV15JSONFormattable _ZN4ceph6global12g_eio_iotypeE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph6global18g_assert_conditionE _ZN4ceph6global5g_eioE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE g_lockdep _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph11DNSResolverD1Ev _ZTVN4ceph13JSONFormatterE _ZN4ceph6global12g_assert_msgE _ZN4ceph6global14g_process_nameE _ZTVN4ceph12XMLFormatterE mime_encode_as_qp _ZN4ceph12XMLFormatter13close_sectionEv _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZN4ceph5crush13CrushLocation15init_on_startupEv _ZN4ceph13JSONFormatter13close_sectionEv _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9SafeTimerD1Ev _Z19escape_xml_attr_lenPKc _Z27gen_rand_alphanumeric_lowerB5cxx11PN4ceph6common11CephContextEm _ZN4ceph13HTMLFormatterC1Eb _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log11dump_recentEv _ZNK4ceph6common11CephContext15get_module_typeEv _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRNS_4listIS4_SaIS4_EEE encode_utf8 _Z11encode_jsonPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph9FormatterE _ZN16OutputDataSocketD2Ev _ZN10ThreadPoolC1EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN9MonClientD1Ev _ZN10JSONParser5parseEPKci _ZN6ThreadC2Ev _ZN4ceph6common11CephContext16notify_post_forkEv _Z14lockdep_lockedPKcib _ZN4ceph13from_iso_8601EN5boost16basic_string_refIcSt11char_traitsIcEEEb _ZN12AuthRegistryD1Ev _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _Z11encode_jsonPKcjPN4ceph9FormatterE _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN4ceph6crypto20zeroize_for_securityEPvm _ZN9MonClientC1EPN4ceph6common11CephContextE _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZN4ceph12XMLFormatter5flushERSo _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _Z15decode_json_objR7utime_tP7JSONObj _ZN4ceph7logging3Log12set_log_fileESt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext14get_init_flagsEv _Z14common_preinitRK18CephInitParameters18code_environment_ti check_for_control_characters _ZN11JSONObjIterdeEv _ZN11md_config_t14set_val_or_dieER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEERKNSt7__cxx1112basic_stringIcS7_SaIcEEE _ZNK6Thread10is_startedEv _Z11encode_jsonPKcmPN4ceph9FormatterE _ZN7JSONObj9is_objectEv _ZN4ceph6bufferlsERSoRKNS0_7v15_2_04listE _Z15decode_json_objRjP7JSONObj _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN11md_config_t15set_val_defaultER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEERKNSt7__cxx1112basic_stringIcS7_SaIcEEE _ZN10ThreadPoolD1Ev _ZN4ceph14PluginRegistry13get_with_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ _Z19ceph_version_to_strv _Z24ceph_argparse_need_usageRKSt6vectorIPKcSaIS1_EE _ZN4ceph12XMLFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN15JSONFormattable3setERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph12XMLFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph7logging3Log17set_flush_on_exitEv _Z19lockdep_will_unlockPKci _ZN10ThreadPool7unpauseEv _Z14dout_emergencyPKc _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN12CryptoRandom9get_bytesEPci safe_read_file _ZN4ceph7logging3Log14chown_log_fileEjj _ZN4ceph6common11CephContext14set_init_flagsEi _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _Z15decode_json_objRN4ceph6buffer7v15_2_04listEP7JSONObj _Z11get_str_setRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt3setIS4_St4lessIS4_ESaIS4_EE _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN16OutputDataSocket13append_outputERN4ceph6buffer7v15_2_04listE _Z15decode_json_objRlP7JSONObj _ZN4ceph6crypto3ssl13OpenSSLDigest6UpdateEPKhm _ZN4ceph9Formatter5flushERNS_6buffer7v15_2_04listE _ZN7JSONObj10find_firstEv _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigest5FinalEPh _ZN6ThreadD2Ev _ZN6Thread4killEi _Z27gen_rand_alphanumeric_upperPN4ceph6common11CephContextEPcm _Z16lockdep_registerPKc _ZNK11md_config_t16do_argv_commandsERK12ConfigValues _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigestD2Ev _ZN4ceph6common11CephContext15notify_pre_forkEv _ZN10ThreadPool4stopEb _ZN11JSONObjIterppEv _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN4ceph13JSONFormatter5flushERSo _ZN11JSONObjIterD1Ev ceph_unarmor _Z10env_to_vecRSt6vectorIPKcSaIS1_EES1_ _ZNK4ceph9BackTrace5printERSo safe_read_exact _ZN4ceph6common11CephContext11reopen_logsEv _ZN4ceph9FormatterC2Ev _ZN9SafeTimer4initEv _ZNK15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common11CephContext3putEv _ZN10ThreadPool5startEv _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv get_process_name _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS4_SaIS4_EE _ZN10JSONParserD1Ev _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log5flushEv _ZN4ceph13JSONFormatterC1Eb _ZN4ceph7logging3Log5startEv _Z11encode_jsonPKcbPN4ceph9FormatterE _ZN4ceph6bufferlsERSoRKNS0_7v15_2_05errorE _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN4ceph6crypto3ssl13OpenSSLDigest7RestartEv _ZlsRSoRK18xml_stream_escaper _Z18lockdep_unregisteri _Z14dout_emergencyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE check_utf8 _ZN4ceph6crypto3ssl13OpenSSLDigestC2EPK9evp_md_st _ZN16OutputDataSocketC2EPN4ceph6common11CephContextEm _ZN4ceph7logging3Log15reopen_log_fileEv _ZN9MonClient21get_monmap_and_configEv _ZN8Throttle3putEl _Z15decode_json_objRmP7JSONObj _ZN4ceph23register_assert_contextEPNS_6common11CephContextE _Z17lockdep_will_lockPKcibb _ZN15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK10EntityName6to_strB5cxx11Ev _ZN4ceph7logging3Log16set_stderr_levelEii _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z21gen_rand_alphanumericB5cxx11PN4ceph6common11CephContextEm _Z11encode_jsonPKcS0_PN4ceph9FormatterE _ZN4ceph6common11CephContext18get_crypto_handlerEi _ZN4ceph6common12PerfCounters3decEim _ZN16OutputDataSocket4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z12pipe_cloexecPii _ZN4ceph6global6g_confEv _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN7JSONObj8get_dataERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_8data_valE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _Z11encode_jsonPKclPN4ceph9FormatterE _ZN6Thread6createEPKcm _ZNK11md_config_t17early_expand_metaERK12ConfigValuesRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSo _ZNK15JSONFormattable4findERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZNK10EntityName6get_idB5cxx11Ev _ZN4ceph12XMLFormatterC1Ebbb _ZN4ceph11DNSResolver13resolve_cnameEPNS_6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS9_Pb _ZN4ceph6common12PerfCountersD1Ev _ZN12AuthRegistryC1EPN4ceph6common11CephContextE safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _Z28set_cpu_affinity_all_threadsmP9cpu_set_t _ZN10Compressor6createEPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common12PerfCounters3incEim _ZN4ceph6common19PerfCountersBuilder11add_u64_avgEiPKcS3_S3_ii _ZN4ceph7logging3Log4stopEv _ZNK15JSONFormattable3defERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc _ZN8Throttle3getEll _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_4listIS4_SaIS4_EEE _ZN4cephlsINS_11time_detail17coarse_real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN9SafeTimer12cancel_eventEP7Context _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK15JSONFormattable6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN10ThreadPool5pauseEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _Z27gen_rand_alphanumeric_plainPN4ceph6common11CephContextEPcm _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _Z11get_str_mapRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3mapIS4_S4_St4lessIS4_ESaISt4pairIS5_S4_EEEPKc _ZN9SafeTimer17cancel_all_eventsEv _ZNK15JSONFormattable3defEb _Z24ceph_argparse_early_argsRSt6vectorIPKcSaIS1_EEjPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_ _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z20generic_server_usagev _ZNK4ceph6common16RefCountedObject3putEv _ZN10Compressor6createEPN4ceph6common11CephContextEi _Z15escape_xml_attrPKcPc _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _Z13block_signalsPKiP10__sigset_t _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZN4ceph6common19PerfCountersDeleterclEPNS0_12PerfCountersE _ZN4ceph14FormatterAttrsC1EPKcz _ZN4ceph11time_detail10real_clock18from_ceph_timespecERK13ceph_timespec _ZNK15JSONFormattable3defEi _Z21get_numa_node_cpu_setiPmP9cpu_set_t _Z19ceph_str_hash_linuxPKcj _ZN12AuthRegistry15_refresh_configEv _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK12AuthRegistry21get_supported_methodsEiPSt6vectorIjSaIjEES3_ _ZN10ThreadPool5drainEPNS_10WorkQueue_E _ZN4ceph7logging3Log18is_inside_log_lockEv _Z35gen_rand_alphanumeric_no_underscorePN4ceph6common11CephContextEPcm _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZN4ceph9FormatterD2Ev _ZN4ceph6common11CephContext34check_experimental_feature_enabledERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph9BackTrace4dumpEPNS_9FormatterE safe_write _Z15decode_json_objRbP7JSONObj _Z11encode_jsonPKcRK15JSONFormattablePN4ceph9FormatterE _Z11encode_jsonPKcRK7utime_tPN4ceph9FormatterE _ZN8ThrottleD1Ev _ZN4ceph13JSONFormatterC2Eb _ZN4ceph6common12PerfCounters4tincEi7utime_t _ZN8Finisher4stopEv _Z11encode_jsonPKcRKN4ceph6buffer7v15_2_04listEPNS1_9FormatterE _ZN11md_config_t22finalize_reexpand_metaER12ConfigValuesRK13ConfigTracker _ZN4ceph11to_iso_8601B5cxx11ENSt6chrono10time_pointINS_11time_detail10real_clockENS0_8durationImSt5ratioILl1ELl1000000000EEEEEENS_15iso_8601_formatE _Z15decode_json_objRiP7JSONObj _Z21gen_rand_alphanumericPN4ceph6common11CephContextEPcm _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _Z20get_process_name_cppB5cxx11v _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _Z11encode_jsonPKciPN4ceph9FormatterE _Z21pretty_version_to_strB5cxx11v _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/librgw.so.2.0.0: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTI6Thread _ZTI16OutputDataSocket _ZN16OutputDataSocket5entryEv _ZTIN4ceph6common16RefCountedObjectE _ZTIN4ceph9FormatterE _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph6global20g_assert_thread_nameE _ZN4ceph6global10g_eio_pathE _ZN4ceph6global13g_eio_devnameE _ZN4ceph6global12g_eio_lengthE _ZN9pg_pool_t20APPLICATION_NAME_RGWE _ZN4ceph6global11g_eio_errorE _ZN4ceph6global13g_assert_funcE _ZN4ceph6global13g_assert_lineE _ZN4ceph6global13g_assert_fileE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph14ResolvHWrapperE _ZTVN4ceph6buffer7v15_2_05errorE g_code_env _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6global12g_eio_offsetE _ZTV15JSONFormattable _ZN4ceph6global12g_eio_iotypeE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph6global18g_assert_conditionE _ZN4ceph6global5g_eioE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE g_lockdep _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph11DNSResolverD1Ev _ZTVN4ceph13JSONFormatterE _ZN4ceph6global12g_assert_msgE _ZN4ceph6global14g_process_nameE _ZTVN4ceph12XMLFormatterE mime_encode_as_qp _ZN4ceph12XMLFormatter13close_sectionEv _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZN4ceph5crush13CrushLocation15init_on_startupEv _ZN4ceph13JSONFormatter13close_sectionEv _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9SafeTimerD1Ev _Z19escape_xml_attr_lenPKc _Z27gen_rand_alphanumeric_lowerB5cxx11PN4ceph6common11CephContextEm _ZN4ceph13HTMLFormatterC1Eb _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log11dump_recentEv _ZNK4ceph6common11CephContext15get_module_typeEv _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRNS_4listIS4_SaIS4_EEE encode_utf8 _Z11encode_jsonPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph9FormatterE _ZN16OutputDataSocketD2Ev _ZN10ThreadPoolC1EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN9MonClientD1Ev _ZN10JSONParser5parseEPKci _ZN6ThreadC2Ev _ZN4ceph6common11CephContext16notify_post_forkEv _Z14lockdep_lockedPKcib _ZN4ceph13from_iso_8601EN5boost16basic_string_refIcSt11char_traitsIcEEEb XXH64 _ZN12AuthRegistryD1Ev _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _Z11encode_jsonPKcjPN4ceph9FormatterE _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph6crypto20zeroize_for_securityEPvm _ZN9MonClientC1EPN4ceph6common11CephContextE _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZN4ceph12XMLFormatter5flushERSo _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _Z15decode_json_objR7utime_tP7JSONObj _ZN4ceph7logging3Log12set_log_fileESt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext14get_init_flagsEv _Z14common_preinitRK18CephInitParameters18code_environment_ti check_for_control_characters _ZN11JSONObjIterdeEv _ZNK6Thread10is_startedEv _Z11encode_jsonPKcmPN4ceph9FormatterE _ZN7JSONObj9is_objectEv _ZN4ceph6bufferlsERSoRKNS0_7v15_2_04listE _Z15decode_json_objRjP7JSONObj _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN11md_config_t15set_val_defaultER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEERKNSt7__cxx1112basic_stringIcS7_SaIcEEE _ZN10ThreadPoolD1Ev _ZN4ceph14PluginRegistry13get_with_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ _Z19ceph_version_to_strv _ZN4ceph12XMLFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN15JSONFormattable3setERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph12XMLFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph7logging3Log17set_flush_on_exitEv _Z19lockdep_will_unlockPKci _ZN10ThreadPool7unpauseEv _Z14dout_emergencyPKc _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN12CryptoRandom9get_bytesEPci safe_read_file _ZN4ceph7logging3Log14chown_log_fileEjj _ZN4ceph6common11CephContext14set_init_flagsEi _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _Z15decode_json_objRN4ceph6buffer7v15_2_04listEP7JSONObj _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN16OutputDataSocket13append_outputERN4ceph6buffer7v15_2_04listE _Z15decode_json_objRlP7JSONObj _ZN4ceph6crypto3ssl13OpenSSLDigest6UpdateEPKhm _ZN4ceph9Formatter5flushERNS_6buffer7v15_2_04listE _ZN7JSONObj10find_firstEv _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigest5FinalEPh _ZN6ThreadD2Ev _ZN6Thread4killEi _Z27gen_rand_alphanumeric_upperPN4ceph6common11CephContextEPcm _Z16lockdep_registerPKc _ZNK11md_config_t16do_argv_commandsERK12ConfigValues _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigestD2Ev _ZN4ceph6common11CephContext15notify_pre_forkEv _ZN10ThreadPool4stopEb _ZN11JSONObjIterppEv _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN4ceph13JSONFormatter5flushERSo _ZN11JSONObjIterD1Ev ceph_unarmor _Z10env_to_vecRSt6vectorIPKcSaIS1_EES1_ _ZNK4ceph9BackTrace5printERSo _ZN4ceph6common11CephContext11reopen_logsEv _ZN4ceph9FormatterC2Ev _ZN9SafeTimer4initEv _ZNK15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common11CephContext3putEv _ZN10ThreadPool5startEv _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv get_process_name _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS4_SaIS4_EE _ZN10JSONParserD1Ev _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log5flushEv _ZN4ceph13JSONFormatterC1Eb _ZN4ceph7logging3Log5startEv _Z11encode_jsonPKcbPN4ceph9FormatterE _ZN4ceph6bufferlsERSoRKNS0_7v15_2_05errorE _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN4ceph6crypto3ssl13OpenSSLDigest7RestartEv _ZlsRSoRK18xml_stream_escaper _Z18lockdep_unregisteri _Z14dout_emergencyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE check_utf8 _ZN4ceph6crypto3ssl13OpenSSLDigestC2EPK9evp_md_st _ZN16OutputDataSocketC2EPN4ceph6common11CephContextEm _ZN4ceph7logging3Log15reopen_log_fileEv _ZN9MonClient21get_monmap_and_configEv _ZN8Throttle3putEl _Z15decode_json_objRmP7JSONObj _ZN4ceph23register_assert_contextEPNS_6common11CephContextE _Z17lockdep_will_lockPKcibb _ZN15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK10EntityName6to_strB5cxx11Ev _ZN4ceph7logging3Log16set_stderr_levelEii _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z21gen_rand_alphanumericB5cxx11PN4ceph6common11CephContextEm _Z11encode_jsonPKcS0_PN4ceph9FormatterE _ZN4ceph6common11CephContext18get_crypto_handlerEi _ZN4ceph6common12PerfCounters3decEim _ZN16OutputDataSocket4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z12pipe_cloexecPii _ZN4ceph6global6g_confEv _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN7JSONObj8get_dataERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_8data_valE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _Z11encode_jsonPKclPN4ceph9FormatterE _ZN6Thread6createEPKcm _ZNK11md_config_t17early_expand_metaERK12ConfigValuesRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSo _ZNK15JSONFormattable4findERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZNK10EntityName6get_idB5cxx11Ev _ZN4ceph12XMLFormatterC1Ebbb _ZN4ceph11DNSResolver13resolve_cnameEPNS_6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS9_Pb _ZN4ceph6common12PerfCountersD1Ev _ZN12AuthRegistryC1EPN4ceph6common11CephContextE safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN10Compressor6createEPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common12PerfCounters3incEim _ZN4ceph6common19PerfCountersBuilder11add_u64_avgEiPKcS3_S3_ii _ZN4ceph7logging3Log4stopEv _ZNK15JSONFormattable3defERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc _ZN8Throttle3getEll _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_4listIS4_SaIS4_EEE _ZN4cephlsINS_11time_detail17coarse_real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK15JSONFormattable6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN10ThreadPool5pauseEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _Z27gen_rand_alphanumeric_plainPN4ceph6common11CephContextEPcm _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _Z11get_str_mapRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3mapIS4_S4_St4lessIS4_ESaISt4pairIS5_S4_EEEPKc _ZN9SafeTimer17cancel_all_eventsEv _ZNK15JSONFormattable3defEb _Z24ceph_argparse_early_argsRSt6vectorIPKcSaIS1_EEjPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_ _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZNK4ceph6common16RefCountedObject3putEv _ZN10Compressor6createEPN4ceph6common11CephContextEi _Z15escape_xml_attrPKcPc _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _Z13block_signalsPKiP10__sigset_t _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZN4ceph6common19PerfCountersDeleterclEPNS0_12PerfCountersE _ZN4ceph11time_detail10real_clock18from_ceph_timespecERK13ceph_timespec _ZNK15JSONFormattable3defEi _Z19ceph_str_hash_linuxPKcj _ZN12AuthRegistry15_refresh_configEv _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK12AuthRegistry21get_supported_methodsEiPSt6vectorIjSaIjEES3_ _ZN10ThreadPool5drainEPNS_10WorkQueue_E _ZN4ceph7logging3Log18is_inside_log_lockEv _Z35gen_rand_alphanumeric_no_underscorePN4ceph6common11CephContextEPcm _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZN4ceph9FormatterD2Ev _ZNK4ceph9BackTrace4dumpEPNS_9FormatterE safe_write _Z15decode_json_objRbP7JSONObj _Z11encode_jsonPKcRK15JSONFormattablePN4ceph9FormatterE _Z11encode_jsonPKcRK7utime_tPN4ceph9FormatterE _ZN8ThrottleD1Ev _ZN4ceph13JSONFormatterC2Eb _ZN4ceph6common12PerfCounters4tincEi7utime_t _ZN8Finisher4stopEv _Z11encode_jsonPKcRKN4ceph6buffer7v15_2_04listEPNS1_9FormatterE _ZN11md_config_t22finalize_reexpand_metaER12ConfigValuesRK13ConfigTracker _ZN4ceph11to_iso_8601B5cxx11ENSt6chrono10time_pointINS_11time_detail10real_clockENS0_8durationImSt5ratioILl1ELl1000000000EEEEEENS_15iso_8601_formatE _Z15decode_json_objRiP7JSONObj _Z21gen_rand_alphanumericPN4ceph6common11CephContextEPcm _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _Z20get_process_name_cppB5cxx11v _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _Z11encode_jsonPKciPN4ceph9FormatterE _Z21pretty_version_to_strB5cxx11v _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_jerasure.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_jerasure_generic.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_jerasure_sse3.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_jerasure_sse4.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_lrc.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZN4ceph11_page_shiftE _Z18timeout_sighandleri _ZN7mempool10debug_modeE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTV15SubProcessTimed _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRNS_4listIS4_SaIS4_EEE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZNK10SubProcess10get_stderrEv _ZNK4ceph6buffer7v15_2_04list7hexdumpERSob _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph6buffer7v15_2_04list7read_fdEim _ZN5boost6detail12get_tss_dataEPKv _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZNK10EntityName12get_type_strEv _ZN10SubProcess12add_cmd_argsEPKcz _ZNK10SubProcess10get_stdoutEv _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZN4ceph25ErasureCodePluginRegistry7factoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_RSt3mapIS6_S6_St4lessIS6_ESaISt4pairIS7_S6_EEEPSt10shared_ptrINS_20ErasureCodeInterfaceEEPSo _ZN10SubProcessD2Ev _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN7mempool8get_poolENS_12pool_index_tE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN5boost6detail12set_tss_dataEPKvPFvPFvPvES3_ES5_S3_b _ZNK10SubProcess3errB5cxx11Ev _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _ZN5boost13thread_detail17enter_once_regionERNS_9once_flagE _ZN9TextTable13define_columnERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_5AlignES8_ _ZN10SubProcess4joinEv _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN15SubProcessTimedC1EPKcN10SubProcess9std_fd_opES3_S3_ii _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN5boost13thread_detail18commit_once_regionERNS_9once_flagE _ZNK10EntityName6get_idB5cxx11Ev _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN10SubProcess5spawnEv _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN5boost13thread_detail20rollback_once_regionERNS_9once_flagE _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj _ZlsRSoRK9TextTable Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_shec.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_shec_generic.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_shec_sse3.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_shec_sse4.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_clay.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZN4ceph11_page_shiftE _Z18timeout_sighandleri _ZN7mempool10debug_modeE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTV15SubProcessTimed _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRNS_4listIS4_SaIS4_EEE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZNK10SubProcess10get_stderrEv _ZNK4ceph6buffer7v15_2_04list7hexdumpERSob _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph6buffer7v15_2_04list7read_fdEim _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZNK10EntityName12get_type_strEv _ZN10SubProcess12add_cmd_argsEPKcz _ZNK10SubProcess10get_stdoutEv _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZN4ceph25ErasureCodePluginRegistry7factoryERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_RSt3mapIS6_S6_St4lessIS6_ESaISt4pairIS7_S6_EEEPSt10shared_ptrINS_20ErasureCodeInterfaceEEPSo _ZN10SubProcessD2Ev _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN7mempool8get_poolENS_12pool_index_tE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_04list5c_strEv _ZNK10SubProcess3errB5cxx11Ev _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _ZN9TextTable13define_columnERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEENS_5AlignES8_ _ZN10SubProcess4joinEv _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN11json_spirit13read_or_throwERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_10Value_implINS_10Config_mapIS5_EEEE _ZN15SubProcessTimedC1EPKcN10SubProcess9std_fd_opES3_S3_ii _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZNK10EntityName6get_idB5cxx11Ev _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN10SubProcess5spawnEv _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj _ZlsRSoRK9TextTable Warning: undefined symbols in /usr/lib64/ceph/erasure-code/libec_isa.so: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE ceph_arch_intel_sse2 _ZN4ceph6global14g_ceph_contextE _ZN4ceph25ErasureCodePluginRegistry9singletonE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZN4ceph6buffer7v15_2_03ptraSEOS2_ _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list15rebuild_alignedEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph6buffer7v15_2_03ptraSERKS2_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph25ErasureCodePluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_17ErasureCodePluginE _ZN12CrushWrapper15add_simple_ruleENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_S5_S5_S5_iPSo _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptr4zeroEjjb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph6buffer7v15_2_06createEj _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list31rebuild_aligned_size_and_memoryEjjj _ZN4ceph6buffer7v15_2_014create_alignedEjj Warning: undefined symbols in /usr/lib64/ceph/compressor/libceph_snappy.so.2.0.0: _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE19get_ptr_and_advanceEmPPKc _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrEjj _ZN4ceph6buffer7v15_2_03ptrC1Ej _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1ERKNS2_8iteratorE _ZN4ceph6buffer7v15_2_025create_small_page_alignedEj _ZN4ceph6buffer7v15_2_03ptr7releaseEv Warning: undefined symbols in /usr/lib64/ceph/compressor/libceph_zlib.so.2.0.0: ceph_arch_intel_pclmul ceph_arch_intel_sse41 _ZN4ceph10_page_sizeE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE19get_ptr_and_advanceEmPPKc _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrEjj _ZNK4ceph6buffer7v15_2_03ptr5c_strEv ceph_arch_probe _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_019create_page_alignedEj _ZN4ceph6buffer7v15_2_03ptr7releaseEv Warning: undefined symbols in /usr/lib64/ceph/compressor/libceph_zstd.so.2.0.0: _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE19get_ptr_and_advanceEmPPKc _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrEjj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZN4ceph6buffer7v15_2_03ptrC1Ej _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_025create_small_page_alignedEj _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj Warning: undefined symbols in /usr/lib64/ceph/compressor/libceph_lz4.so.2.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE19get_ptr_and_advanceEmPPKc _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list7rebuildEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrEjj _ZNK4ceph6buffer7v15_2_04list13is_contiguousEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE9copy_deepEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_03ptrC1Ej _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE15get_current_ptrEv _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_025create_small_page_alignedEj _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj Warning: undefined symbols in /usr/lib64/ceph/crypto/libceph_crypto_openssl.so: _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE Warning: undefined symbols in /usr/lib64/ceph/crypto/libceph_crypto_isal.so.1.0.0: ceph_arch_intel_aesni ceph_arch_intel_sse41 _ZN4ceph14PluginRegistry3addERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_PNS_6PluginE ceph_arch_probe Warning: undefined symbols in /usr/lib64/rados-classes/libcls_sdk.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _Z13cls_cxx_writePviiPN4ceph6buffer7v15_2_04listE _Z14cls_cxx_removePv _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _Z12cls_cxx_statPvPmPl cls_log _Z14cls_cxx_createPvb _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_hello.so.1.0.0: _ZTI10PGLSFilter _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTIN4ceph6buffer7v15_2_05errorE _Z21ceph_entity_type_namei _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z23cls_register_cxx_filterPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPFP10PGLSFiltervEPS_ _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _ZN10PGLSFilterD2Ev _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN10PGLSFilterC2Ev _ZN4ceph6buffer7v15_2_04list5c_strEv cls_get_request_origin _Z12cls_cxx_statPvPmPl _ZlsRSoRK13entity_addr_t cls_log _ZNK4ceph6buffer7v15_2_04list14contents_equalEPKvm _Z18cls_cxx_write_fullPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_numops.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTIN4ceph6buffer7v15_2_05errorE _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_04list5c_strEv cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_rbd.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _Z12cpp_strerrorB5cxx11i _ZNK4ceph6buffer7v15_2_04list13iterator_implILb0EEdeEv _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _Z20cls_cxx_map_set_valsPvPKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4seekEj _Z21cls_cxx_list_watchersPvP25obj_list_watch_response_t _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrE _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _Z13cls_cxx_writePviiPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z14cls_cxx_removePv _Z20cls_cxx_map_get_keysPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmPSt3setIS5_St4lessIS5_ESaIS5_EEPb _ZNK4ceph6buffer7v15_2_03ptr7is_zeroEv _ZNK4ceph6buffer7v15_2_04list7hexdumpERSob _ZNK4ceph6buffer7v15_2_04list7is_zeroEv _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_jNS2_9buffers_t16buffers_iteratorINS1_8ptr_nodeEEEj _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_jj _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _ZN4ceph6buffer7v15_2_04list11append_zeroEj _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _Z16cls_get_featuresPv _ZN4ceph6buffer7v15_2_04list11append_holeEj _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZN4ceph6buffer7v15_2_04list7rebuildESt10unique_ptrINS1_8ptr_nodeENS4_8disposerEE _Z19cls_get_snapset_seqPvPm _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph6buffer7v15_2_04list14contents_equalERKS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE9copy_deepEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _ZN4ceph6buffer7v15_2_03ptrC1Ej _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_04list5c_strEv _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _Z14cls_cxx_write2PviiPN4ceph6buffer7v15_2_04listEj cls_get_request_origin _ZN4ceph6buffer7v15_2_06createEj _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1ERKNS2_8iteratorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _Z12cls_cxx_statPvPmPl cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _Z15cls_cxx_replacePviiPN4ceph6buffer7v15_2_04listE _Z14cls_cxx_createPvb _Z18cls_cxx_write_fullPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EEppEv _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z13cls_cxx_read2PviiPN4ceph6buffer7v15_2_04listEj _Z28cls_get_required_osd_releasePv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list8iterator7copy_inEjPKcb _ZN4ceph6buffer7v15_2_04list6appendEONS1_3ptrE _ZNK4ceph6buffer7v15_2_04list6crc32cEj cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_lock.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_05errorE _Z21ceph_entity_type_namei _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z14cls_cxx_removePv _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z17cls_cxx_getxattrsPvPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _Z23cls_get_client_featuresPv cls_get_request_origin _ZlsRSoRK13entity_addr_t cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE _ZN4ceph11time_detail10real_clock18from_ceph_timespecERK13ceph_timespec cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_otp.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_04list5c_strEv _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_refcount.so.1.0.0: _ZTIN4ceph13JSONFormatterE _ZN4ceph13JSONFormatter5flushERSo _ZN4ceph13JSONFormatter5resetEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter24open_array_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter13close_sectionEv _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph13JSONFormatter10dump_floatESt17basic_string_viewIcSt11char_traitsIcEEd _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter14dump_format_vaESt17basic_string_viewIcSt11char_traitsIcEEPKcbS6_P13__va_list_tag _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZNK4ceph13JSONFormatter7get_lenEv _ZN4ceph13JSONFormatter14write_raw_dataEPKc _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTVN4ceph13JSONFormatterE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z14cls_cxx_removePv _ZN5boost6detail12get_tss_dataEPKv _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13decode_base64ERS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN5boost6detail12set_tss_dataEPKvPFvPFvPvES3_ES5_S3_b _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph9FormatterD2Ev _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZN5boost13thread_detail17enter_once_regionERNS_9once_flagE _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN5boost13thread_detail18commit_once_regionERNS_9once_flagE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN5boost13thread_detail20rollback_once_regionERNS_9once_flagE _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13encode_base64ERS2_ _ZN4ceph13JSONFormatterC2Eb cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_version.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _Z19cls_gen_rand_base64Pci _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_log.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z20cls_cxx_map_get_keysPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmPSt3setIS5_St4lessIS5_ESaIS5_EEPb _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _Z24cls_cxx_map_write_headerPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _Z23cls_cxx_map_read_headerPvPN4ceph6buffer7v15_2_04listE _Z21cls_cxx_subop_versionPvPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z24cls_cxx_map_remove_rangePvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_timeindex.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_user.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _Z24cls_cxx_map_write_headerPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _Z23cls_cxx_map_read_headerPvPN4ceph6buffer7v15_2_04listE cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_journal.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _ZNK4ceph6buffer7v15_2_04list7hexdumpERSob _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _Z16cls_cxx_truncatePvi _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _Z26cls_get_osd_min_alloc_sizePv _Z14cls_cxx_write2PviiPN4ceph6buffer7v15_2_04listEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _Z12cls_cxx_statPvPmPl cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z29cls_get_min_compatible_clientPv cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_rgw.so.1.0.0: _ZTIN4ceph13JSONFormatterE _ZN4ceph13JSONFormatter5flushERSo _ZN4ceph13JSONFormatter5resetEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter24open_array_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter13close_sectionEv _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph13JSONFormatter10dump_floatESt17basic_string_viewIcSt11char_traitsIcEEd _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter14dump_format_vaESt17basic_string_viewIcSt11char_traitsIcEEPKcbS6_P13__va_list_tag _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZNK4ceph13JSONFormatter7get_lenEv _ZN4ceph13JSONFormatter14write_raw_dataEPKc _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTVN4ceph13JSONFormatterE _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z16escape_json_attrPKcmPc _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z14cls_cxx_removePv _Z20cls_cxx_map_get_keysPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmPSt3setIS5_St4lessIS5_ESaIS5_EEPb _Z19cls_current_versionPv _ZN5boost6detail12get_tss_dataEPKv _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _Z24cls_cxx_map_write_headerPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13decode_base64ERS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z17cls_cxx_getxattrsPvPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _Z13cls_cxx_stat2PvPmPNSt6chrono10time_pointIN4ceph11time_detail10real_clockENS1_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN5boost6detail12set_tss_dataEPKvPFvPFvPvES3_ES5_S3_b _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph9FormatterD2Ev _Z23cls_cxx_map_read_headerPvPN4ceph6buffer7v15_2_04listE _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZN5boost13thread_detail17enter_once_regionERNS_9once_flagE _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1ERKNS2_8iteratorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _Z12cls_cxx_statPvPmPl cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _Z14cls_cxx_createPvb _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z17cls_cxx_map_clearPv _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN5boost13thread_detail18commit_once_regionERNS_9once_flagE _ZN4ceph6buffer7v15_2_04list5claimERS2_ _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z24cls_cxx_map_remove_rangePvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z20escape_json_attr_lenPKcm _ZN5boost13thread_detail20rollback_once_regionERNS_9once_flagE _ZN4ceph6buffer7v15_2_04list13encode_base64ERS2_ _ZN4ceph11time_detail10real_clock18from_ceph_timespecERK13ceph_timespec _ZN4ceph13JSONFormatterC2Eb cls_register _Z21cls_current_subop_numPv Warning: undefined symbols in /usr/lib64/rados-classes/libcls_cephfs.so.1.0.0: _ZTI10PGLSFilter _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z23cls_register_cxx_filterPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPFP10PGLSFiltervEPS_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN10PGLSFilterD2Ev _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN10PGLSFilterC2Ev cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_lua.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z20cls_cxx_map_set_valsPvPKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _Z13cls_cxx_writePviiPN4ceph6buffer7v15_2_04listE _Z14cls_cxx_removePv _Z20cls_cxx_map_get_keysPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmPSt3setIS5_St4lessIS5_ESaIS5_EEPb _Z19cls_current_versionPv _ZN5boost6detail12get_tss_dataEPKv _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _Z24cls_cxx_map_write_headerPvPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_03ptrC1EPKcj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZNK4ceph6buffer7v15_2_04listixEj _Z17cls_cxx_getxattrsPvPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN5boost6detail12set_tss_dataEPKvPFvPFvPvES3_ES5_S3_b _ZN4ceph6buffer7v15_2_04list5c_strEv _Z23cls_cxx_map_read_headerPvPN4ceph6buffer7v15_2_04listE _ZN5boost13thread_detail17enter_once_regionERNS_9once_flagE _Z21cls_cxx_subop_versionPvPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _Z12cls_cxx_statPvPmPl cls_log _Z14cls_cxx_createPvb _Z18cls_cxx_write_fullPvPN4ceph6buffer7v15_2_04listE _Z17cls_cxx_map_clearPv _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZN5boost13thread_detail18commit_once_regionERNS_9once_flagE _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z19cls_cxx_map_set_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _ZN5boost13thread_detail20rollback_once_regionERNS_9once_flagE _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE cls_register _Z21cls_current_subop_numPv Warning: undefined symbols in /usr/lib64/rados-classes/libcls_cas.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z14cls_cxx_removePv _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z27cls_cxx_chunk_write_and_setPviiPN4ceph6buffer7v15_2_04listEjS4_i _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z3cmpRK9hobject_tS1_ _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _Z13cls_has_chunkPvNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv reverse_nibbles _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE reverse_bits cls_register Warning: undefined symbols in /usr/lib64/rados-classes/libcls_queue.so.1.0.0: _ZTIN4ceph13JSONFormatterE _ZN4ceph13JSONFormatter5flushERSo _ZN4ceph13JSONFormatter5resetEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter24open_array_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter13close_sectionEv _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph13JSONFormatter10dump_floatESt17basic_string_viewIcSt11char_traitsIcEEd _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter14dump_format_vaESt17basic_string_viewIcSt11char_traitsIcEEPKcbS6_P13__va_list_tag _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZNK4ceph13JSONFormatter7get_lenEv _ZN4ceph13JSONFormatter14write_raw_dataEPKc _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTVN4ceph13JSONFormatterE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _Z18cls_cxx_write_zeroPvii _ZN4ceph6buffer7v15_2_04list11append_holeEj _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13decode_base64ERS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph9FormatterD2Ev _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZN11json_spirit4readERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_10Value_implINS_13Config_vectorIS5_EEEE _ZN11json_spirit4readERSiRNS_10Value_implINS_13Config_vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEE _Z14cls_cxx_write2PviiPN4ceph6buffer7v15_2_04listEj _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN11json_spirit5writeERKNS_10Value_implINS_13Config_vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_jj _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z13cls_cxx_read2PviiPN4ceph6buffer7v15_2_04listEj _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN4ceph6buffer7v15_2_04list13encode_base64ERS2_ _ZN4ceph13JSONFormatterC2Eb cls_register _ZN4ceph6buffer7v15_2_04list6spliceEjjPS2_ Warning: undefined symbols in /usr/lib64/rados-classes/libcls_rgw_gc.so.1.0.0: _ZTIN4ceph13JSONFormatterE _ZN4ceph13JSONFormatter5flushERSo _ZN4ceph13JSONFormatter5resetEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter24open_array_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph13JSONFormatter13close_sectionEv _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph13JSONFormatter10dump_floatESt17basic_string_viewIcSt11char_traitsIcEEd _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph13JSONFormatter14dump_format_vaESt17basic_string_viewIcSt11char_traitsIcEEPKcbS6_P13__va_list_tag _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZNK4ceph13JSONFormatter7get_lenEv _ZN4ceph13JSONFormatter14write_raw_dataEPKc _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph13JSONFormatterE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _Z18cls_cxx_write_zeroPvii _ZN4ceph6buffer7v15_2_04list11append_holeEj _Z12cls_cxx_readPviiPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13decode_base64ERS2_ _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN4ceph9FormatterD2Ev _ZN11json_spirit4readERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_10Value_implINS_13Config_vectorIS5_EEEE _ZN11json_spirit4readERSiRNS_10Value_implINS_13Config_vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEE _Z14cls_cxx_write2PviiPN4ceph6buffer7v15_2_04listEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ cls_log _ZN11json_spirit5writeERKNS_10Value_implINS_13Config_vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEEEEj _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z13cls_cxx_read2PviiPN4ceph6buffer7v15_2_04listEj _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list13encode_base64ERS2_ _ZN4ceph13JSONFormatterC2Eb cls_register _ZN4ceph6buffer7v15_2_04list6spliceEjjPS2_ Warning: undefined symbols in /usr/lib64/rados-classes/libcls_kvs.so.1.0.0: _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph10_page_sizeE _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6buffer7v15_2_03ptrC2EOS2_ _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z20cls_cxx_map_set_valsPvPKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN4ceph6buffer7v15_2_04listESt4lessIS6_ESaISt4pairIKS6_SA_EEE _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _Z19cls_cxx_map_get_valPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph6buffer7v15_2_04listE _Z20cls_cxx_map_get_valsPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_mPSt3mapIS5_N4ceph6buffer7v15_2_04listESt4lessIS5_ESaISt4pairIS6_SC_EEEPb _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN4ceph6buffer7v15_2_04list11append_holeEj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _Z16cls_cxx_setxattrPvPKcPN4ceph6buffer7v15_2_04listE _Z23cls_register_cxx_methodPvPKciPFiS_PN4ceph6buffer7v15_2_04listES6_EPS_ _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_04list5c_strEv _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _Z12cls_cxx_statPvPmPl cls_log _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _Z14cls_cxx_createPvb _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_jj _ZN4ceph6buffer7v15_2_03ptr7releaseEv _Z22cls_cxx_map_remove_keyPvRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list6appendEPKcj _Z16cls_cxx_getxattrPvPKcPN4ceph6buffer7v15_2_04listE cls_register Warning: undefined symbols in /usr/lib64/python3.10/site-packages/rados.cpython-310-x86_64-linux-gnu.so: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/python3.10/site-packages/rbd.cpython-310-x86_64-linux-gnu.so: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTI10ThreadPool _ZTI9SafeTimer _ZN10ThreadPool18handle_conf_changeERKN4ceph6common11ConfigProxyERKSt3setINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessISB_ESaISB_EE _ZN10ThreadPool6workerEPNS_10WorkThreadE _ZTI6Thread _ZTIN4ceph6common16RefCountedObjectE _ZN4ceph11_page_shiftE _ZTVN4ceph6common16RefCountedObjectE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph6buffer7v15_2_05errorE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZN9pg_pool_t20APPLICATION_NAME_RBDE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZTIN4ceph6buffer7v15_2_05errorE _ZN7Striper15get_num_objectsERK13file_layout_tm _ZN4ceph6common12PerfCounters4tsetEi7utime_t _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN10ThreadPoolC1EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN9Readahead20set_trigger_requestsEi _ZN6ThreadC2Ev _ZN10ThreadPoolC2EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN4ceph6common12PerfCounters3setEim _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9SafeTimerD2Ev _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK4ceph6common12PerfCounters8get_nameB5cxx11Ev _ZN10ThreadPoolD2Ev _ZN9ReadaheadD1Ev _ZN14SimpleThrottle8start_opEv _ZN9Readahead14set_alignmentsERKSt6vectorImSaImEE _ZN15OrderedThrottleD1Ev _ZNK6Thread10is_startedEv _ZN4ceph6bufferlsERSoRKNS0_7v15_2_04listE _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN15OrderedThrottle8start_opEP7Context _Z19ceph_version_to_strv _ZN8Finisher14wait_for_emptyEv _ZN11md_config_tD1Ev _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN19TokenBucketThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmmP9SafeTimerPSt5mutex _ZN14AsyncOpTracker12wait_for_opsEP7Context _ZN14AsyncOpTracker8start_opEv _ZN19TokenBucketThrottle6Bucket3getEm _Z21ceph_entity_type_namei _ZN6librbd24rbd_features_from_stringERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSo _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZN14AsyncOpTracker9finish_opEv _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt3mapI8object_tSt6vectorI12ObjectExtentSaISC_EESt4lessISA_ESaISt4pairIKSA_SE_EEEm _ZN9ReadaheadC1Ev _ZN14SimpleThrottle12wait_for_retEv _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN9SafeTimerC2EPN4ceph6common11CephContextERSt5mutexb _ZN6librbd22rbd_features_to_stringB5cxx11EmPSo _ZN15OrderedThrottleC1Emb _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextEPcm _ZN6ThreadD2Ev _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN11md_config_tC1ER12ConfigValuesRK13ConfigTrackerb _ZN10ThreadPool4stopEb _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN9Readahead11dec_pendingEi _ZN9SafeTimer12add_event_atENSt6chrono10time_pointIN4ceph11time_detail10real_clockENS0_8durationImSt5ratioILl1ELl1000000000EEEEEEP7Context _ZN19TokenBucketThrottleD1Ev _ZN9SafeTimer4initEv _ZN10ThreadPool5startEv _ZN9SafeTimer8shutdownEv _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listEb _ZlsRSoPK8sockaddr _ZN7Striper14extent_to_fileEPN4ceph6common11CephContextEP13file_layout_tmmmRSt6vectorISt4pairImmESaIS8_EE _ZN14AsyncOpTrackerD1Ev _ZN7Striper17StripedReadResult18add_partial_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listERKSt6vectorISt4pairImmESaISB_EE _ZN4ceph6bufferlsERSoRKNS0_7v15_2_05errorE _ZN15OrderedThrottle6end_opEi _ZN14AsyncOpTracker5emptyEv _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPK13file_layout_tmmmmPN5boost9container12small_vectorIN7striper23LightweightObjectExtentELm4EvvEE _ZN9Readahead6updateERKSt6vectorISt4pairImmESaIS2_EEm _ZN7Striper17StripedReadResult15assemble_resultEPN4ceph6common11CephContextEPSt3mapImmSt4lessImESaISt4pairIKmmEEEPNS1_6buffer7v15_2_04listE _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN7Striper17StripedReadResult25add_partial_sparse_resultEPN4ceph6common11CephContextERNS1_6buffer7v15_2_04listERKSt3mapImmSt4lessImESaISt4pairIKmmEEEmRKN5boost9container12small_vectorISC_ImmELm4EvvEE _ZN6Thread6createEPKcm _ZN4ceph6common12PerfCountersD1Ev _ZN9Readahead11inc_pendingEi _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common19PerfCountersBuilder8add_timeEiPKcS3_S3_i _ZN4ceph6common12PerfCounters3incEim _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt6vectorI12ObjectExtentSaISA_EEm _ZNK14SimpleThrottle13pending_errorEv _ZN15OrderedThrottle12wait_for_retEv _ZN9Readahead22set_max_readahead_sizeEm _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _ZN19TokenBucketThrottle21set_schedule_tick_minEm _ZN14AsyncOpTrackerC1Ev _ZN9SafeTimer12cancel_eventEP7Context _ZNK4ceph6common16RefCountedObject4_getEv _ZNK11md_config_t11find_optionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN19TokenBucketThrottle9set_limitEmm _ZNK4ceph6common16RefCountedObject3putEv _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZN10ThreadPool5drainEPNS_10WorkQueue_E _ZN7Striper17StripedReadResult18add_partial_resultEPN4ceph6common11CephContextEONS1_6buffer7v15_2_04listERKN5boost9container12small_vectorISt4pairImmELm4EvvEE _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZN14SimpleThrottleD1Ev _ZN9Readahead16wait_for_pendingEP7Context _ZN14SimpleThrottleC1Emb _ZN14SimpleThrottle6end_opEi _ZNK15OrderedThrottle13pending_errorEv _ZN8Finisher4stopEv _ZN11json_spirit4readERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_10Value_implINS_10Config_mapIS5_EEEE _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/python3.10/site-packages/cephfs.cpython-310-x86_64-linux-gnu.so: _ZTI7Message _ZTI6Thread _ZTIN4ceph6common16RefCountedObjectE _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph6buffer7v15_2_05errorE MDS_GID_NONE _ZN4ceph6buffer7v15_2_04list17always_empty_bptrE _ZTV7Message _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN10shard_id_t8NO_SHARDE _ZTIN4ceph6buffer7v15_2_05errorE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZN4ceph6buffer7v15_2_03ptr4zeroEb _ZNK13metric_spec_t6encodeERN4ceph6buffer7v15_2_04listE _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9SafeTimerD1Ev _ZNK4ceph6buffer7v15_2_04listixEj _ZN4ceph6buffer7v15_2_04copyEPKcj _ZNK8Objecter16osdmap_pool_fullEl _ZNK5FSMap10parse_roleESt17basic_string_viewIcSt11char_traitsIcEEP10mds_role_tRSo _ZN4ceph6buffer7v15_2_04list8iteratorC1EPS2_j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN9MonClientD1Ev _ZN9Readahead20set_trigger_requestsEi _ZN16feature_bitset_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZlsRSoRK13entity_addr_t _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _ZN4ceph6buffer7v15_2_08ptr_node24dispose_if_hypercombinedEPS2_ _ZN4ceph6buffer7v15_2_04list5c_strEv _ZN9MonClientC1EPN4ceph6common11CephContextE _ZNK13entity_addr_t4dumpEPN4ceph9FormatterE _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _Z18ceph_lease_op_namei _Z20ceph_session_op_namei _ZN13metric_spec_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9ReadaheadD1Ev _Z17ceph_frag_comparejj _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN9Readahead14set_alignmentsERKSt6vectorImSaImEE _ZN8ObjecterC1EPN4ceph6common11CephContextEP9MessengerP9MonClientP8Finisher _ZN8Objecter5startEPK6OSDMap _ZNK6Thread10is_startedEv _ZN4ceph6buffer7v15_2_03ptrC1EOS2_ _ZNK13file_layout_t9to_legacyEP16ceph_file_layout _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN4ceph6buffer7v15_2_03ptr7releaseEv _ZNK6OSDMap18make_object_layoutE8object_tiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z19ceph_version_to_strv _ZNK21snaprealm_reconnect_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8Finisher14wait_for_emptyEv _ZN4ceph6buffer7v15_2_04list23obtain_contiguous_spaceEj _ZN8Objecter4initEv _ZNK6MDSMap14get_up_mds_setERSt3setIiSt4lessIiESaIiEE _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _Z21ceph_entity_type_namei _ZN13SnapRealmInfo6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK4ceph6buffer7v15_2_04list13iterator_implILb1EE20is_pointing_same_rawERKNS1_3ptrE _ZN4ceph6buffer7v15_2_08ptr_node20create_hypercombinedENS_19unique_leakable_ptrINS1_3rawEEE _ZN4ceph6buffer7v15_2_03ptraSERKS2_ _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZNK6OSDMap14is_blacklistedERK16entity_addrvec_t _ZN8Objecter8shutdownEv _ZNK6MDSMap20is_cluster_availableEv _ZN15cap_reconnect_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK4ceph6buffer7v15_2_03ptr9end_c_strEv _ZN17ceph_lock_state_t11remove_lockE13ceph_filelockRNSt7__cxx114listIS0_SaIS0_EEE _ZNK5FSMap12get_mds_infoEv _ZN8Objecter24consume_blacklist_eventsEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZNK15cap_reconnect_t10encode_oldERN4ceph6buffer7v15_2_04listE _ZN9ReadaheadC1Ev _ZNK13entity_inst_t4dumpEPN4ceph9FormatterE _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN8Objecter16op_cancel_writesEil _ZN16feature_bitset_tmIERKS_ _ZNK21snaprealm_reconnect_t10encode_oldERN4ceph6buffer7v15_2_04listE _ZNK4ceph6buffer7v15_2_03ptr5c_strEv _ZN4ceph6buffer7v15_2_08ptr_node6clonerclERKS2_ _Z19ceph_flags_sys2wirei _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZN13file_layout_t11from_legacyERK16ceph_file_layout _ZN4ceph6buffer7v15_2_03ptraSEOS2_ _Z16ceph_cap_op_namei _Z13ceph_str_hashiPKcj _ZN8Objecter15_sg_read_finishERSt6vectorI12ObjectExtentSaIS1_EERS0_IN4ceph6buffer7v15_2_04listESaIS8_EEPS8_P7Context _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN4ceph6buffer7v15_2_04list11append_zeroEj _ZN4ceph6buffer7v15_2_04list7rebuildEv _ZN4ceph6buffer7v15_2_03ptrC2Ej _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN4ceph6common10cmd_getvalERKSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEN5boost7variantIS7_JbldSt6vectorIS7_SaIS7_EESA_IlSaIlEESA_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SH_EEERSL_Rb _ZN4ceph6buffer7v15_2_04list6appendERKNS1_3ptrE _ZN9Readahead11dec_pendingEi _ZN4ceph6buffer7v15_2_03ptrC1EPKcj _ZNK16feature_bitset_t5printERSo _ZN9SafeTimer4initEv _ZN4ceph6common11CephContext3putEv _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_jj _ZN9SafeTimer8shutdownEv _ZN8Objecter17set_epoch_barrierEj _ZN16feature_bitset_tC1Em _ZN21snaprealm_reconnect_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZlsRSoPK8sockaddr _ZNK16entity_addrvec_t4dumpEPN4ceph9FormatterE _ZN8Objecter12get_fs_statsER11ceph_statfsN5boost8optionalIlEEP7Context _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6MDSMap6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6buffer7v15_2_04list4swapERS2_ _Z4dumpRK15ceph_dir_layoutPN4ceph9FormatterE _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN8Objecter9op_submitEPNS_2OpEPmPi _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEC1EPKS2_j _ZN9MonClient21get_monmap_and_configEv _ZN8Objecter22wait_for_latest_osdmapEP7Context _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjPc _Z18ceph_flags_to_modei _Z18ceph_caps_for_modei _ZN8Objecter8have_mapEj _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _Z18common_init_finishPN4ceph6common11CephContextE _ZN6Thread6createEPKcm _ZNK10EntityName6get_idB5cxx11Ev _ZN17ceph_lock_state_t8add_lockER13ceph_filelockbbPb _ZNK12CrushWrapper25get_full_location_orderedEiRSt6vectorISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ESaIS8_EE _ZN9MonClient8shutdownEv _ZNK5FSMap20find_mds_gid_by_nameESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjPc _ZN4ceph6common12PerfCountersD1Ev _Z16ceph_mds_op_namei _ZN15cap_reconnect_t10decode_oldERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Readahead11inc_pendingEi _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZNK16feature_bitset_t6encodeERN4ceph6buffer7v15_2_04listE _ZN4ceph6buffer7v15_2_04list6appendERKS2_ _ZN4ceph6common19PerfCountersBuilder8add_timeEiPKcS3_S3_i _ZN4ceph6common12PerfCounters3incEim _ZN4ceph6buffer7v15_2_03ptrC1ENS_19unique_leakable_ptrINS1_3rawEEE _ZN7Striper15file_to_extentsEPN4ceph6common11CephContextEPKcPK13file_layout_tmmmRSt6vectorI12ObjectExtentSaISA_EEm _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRS2_ _ZN4ceph6buffer7v15_2_04list6appendEPKcj _ZN4ceph6buffer7v15_2_04list6spliceEjjPS2_ _ZNK4ceph6buffer7v15_2_04list16get_wasted_spaceEv _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9Readahead22set_max_readahead_sizeEm _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _ZN4ceph6buffer7v15_2_04list5claimERS2_ _ZN9Readahead22set_min_readahead_sizeEm _ZN9SafeTimer12cancel_eventEP7Context _ZN4ceph6buffer7v15_2_04list13iterator_implILb0EE4copyEjRS2_ _ZN4ceph6buffer7v15_2_03ptr5c_strEv _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _ZN17ceph_lock_state_tD1Ev _Z19ceph_str_hash_validi _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZNK8Objecter16osdmap_full_flagEv _ZN8Objecter12wait_for_mapEjP7Contexti _Z12cpp_strerrorB5cxx11i _ZN4ceph6buffer7v15_2_03ptrC2ERKS2_ _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4seekEj _ZN4ceph6buffer7v15_2_03ptrC1ERKS2_ _Z19ceph_str_hash_linuxPKcj _ZN21snaprealm_reconnect_t10decode_oldERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN4ceph6buffer7v15_2_04list9substr_ofERKS2_jj _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EEpLEj _Z18git_version_to_strv _ZNK5FSMap13print_summaryEPN4ceph9FormatterEPSo _ZN9Readahead22get_min_readahead_sizeEv _ZN16feature_bitset_tC1ERKSt6vectorImSaImEE _ZN8Objecter17maybe_request_mapEv _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZN4ceph6buffer7v15_2_04list12claim_appendERS2_ _ZlsRSoRK12quota_info_t _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN4ceph6common12PerfCounters4tincEi7utime_t _ZN8Objecter23enable_blacklist_eventsEv _ZN8Finisher4stopEv _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE4copyEjRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6buffer7v15_2_04list13iterator_implILb1EE12copy_shallowEjRNS1_3ptrE _ZN9Readahead22get_max_readahead_sizeEv _ZN18CephInitParametersC1Ej _ZNK15cap_reconnect_t6encodeERN4ceph6buffer7v15_2_04listE _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN9Readahead6updateEmmm _ZNK6OSDMap14find_osd_on_ipERK13entity_addr_t _Z21pretty_version_to_strB5cxx11v _ZNK13file_layout_t4dumpEPN4ceph9FormatterE _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv Warning: undefined symbols in /usr/lib64/python3.10/site-packages/rgw.cpython-310-x86_64-linux-gnu.so: _ZTIN4ceph6common16RefCountedObjectE _ZTI6Thread _ZTI7Message _ZNK7Message4dumpEPN4ceph9FormatterE _ZN4ceph11_page_shiftE _ZN7mempool10debug_modeE _ZTV9MgrClient _ZN4ceph10_page_sizeE _ZTV7Message ceph_crc32c_func _ZN4ceph10_page_maskE _ZN10shard_id_t8NO_SHARDE _ZN4ceph6common16cmdmap_from_jsonERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS7_EEPSt3mapIS7_N5boost7variantIS7_JbldS9_S1_IlSaIlEES1_IdSaIdEEEEESt4lessIvESaISt4pairIKS7_SJ_EEERNS2_18basic_stringstreamIcS5_S6_EE _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZNK4pg_t15is_merge_sourceEjjPS_ _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZNK9hobject_t6encodeERN4ceph6buffer7v15_2_04listE _ZN6OSDMapdlEPv _ZN9SafeTimerD1Ev _ZN7JSONObj18get_array_elementsB5cxx11Ev _Z20ceph_osd_flag_stringB5cxx11j _ZNK6OSDMap20object_locator_to_pgERK8object_tRK16object_locator_tR4pg_t _ZN6MonSub6unwantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext15get_module_typeEv _ZN5OSDOp10clear_dataERSt6vectorIS_SaIS_EE _ZNK6OSDMap21_pg_to_up_acting_osdsERK4pg_tPSt6vectorIiSaIiEEPiS6_S7_b _ZN6OSDMap17apply_incrementalERKNS_11IncrementalE _ZN9MonClientD1Ev _ZlsRSoRK13entity_addr_t _ZN10JSONParser5parseEPKci _ZN9MonClient20build_initial_monmapEv _ZN6ThreadC2Ev _ZN9MonClient11_renew_subsEv _ZN9MonClient16send_mon_messageEN5boost13intrusive_ptrI7MessageEE _ZN4ceph6common12PerfCounters3setEim _ZN5OSDOp27merge_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZN18TracepointProviderC1EPN4ceph6common11CephContextEPKcS5_ _ZN9MonClientC1EPN4ceph6common11CephContextE crush_destroy _ZN8Throttle11get_or_failEl _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZNK6OSDMap21get_min_compat_clientEv _ZN9MgrClient28service_daemon_update_statusEOSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_St4lessIS6_ESaISt4pairIKS6_S6_EEE _ZN13PastIntervals15is_new_intervalEiiRKSt6vectorIiSaIiEES4_iiS4_S4_iiiijjjjbbbb4pg_t _Z14common_preinitRK18CephInitParameters18code_environment_ti _ZN11JSONObjIterdeEv _ZN10EntityName8from_strERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9hobject_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZNK6Thread10is_startedEv _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN8Finisher14wait_for_emptyEv _ZN7mempool8get_poolENS_12pool_index_tE _ZNK7Message12encode_traceERN4ceph6buffer7v15_2_04listEm _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZNK9pg_pool_t12raw_pg_to_pgE4pg_t _Z21ceph_entity_type_namei _ZN6OSDMapnwEm _ZlsRSoRK10EntityName _Z24ceph_osd_backoff_op_namei _ZlsRSoRK5OSDOp _ZN9MgrClient23service_daemon_registerERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_RKSt3mapIS5_S5_St4lessIS5_ESaISt4pairIS6_S5_EEE _ZNK11SnapContext8is_validEv _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _ZlsRSoRK5spg_t _ZNK14scrub_ls_arg_t6encodeERN4ceph6buffer7v15_2_04listE _ZN9MgrClient13start_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9MgrClientC1EPN4ceph6common11CephContextEP9MessengerP6MonMap _ZN9hobject_t5parseERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph11time_detail10real_clock16to_ceph_timespecERKNSt6chrono10time_pointIS1_NS2_8durationImSt5ratioILl1ELl1000000000EEEEEE _ZlsRSoRK4pg_t _Z12get_env_boolPKc _ZN6OSDMap11Incremental6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9MgrClient18start_tell_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN9MonClient17start_mon_commandERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERKSt6vectorIS5_SaIS5_EERKN4ceph6buffer7v15_2_04listEPSG_PS5_P7Context _ZN10EntityName3setEjRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN6ThreadD2Ev _ZNK6OSDMap29get_require_min_compat_clientEv _Z13ceph_str_hashiPKcj _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN11JSONObjIterD1Ev ceph_unarmor reverse_nibbles crush_create _ZN9SafeTimer4initEv _ZN24inconsistent_obj_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN4ceph6common11CephContext3putEv _ZN9MonClient17start_mon_commandERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv _ZlsRSoPK8sockaddr _Z16collect_sys_infoPSt3mapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St4lessIS5_ESaISt4pairIKS5_S5_EEEPN4ceph6common11CephContextE _ZN10JSONParserD1Ev _ZN9MonClient12authenticateEd _ZN4ceph7logging3Log5startEv _ZN6OSDMap22primary_changed_brokenEiRKSt6vectorIiSaIiEEiS4_ _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN7Message12decode_traceERN4ceph6buffer7v15_2_04list13iterator_implILb1EEEb _ZNK9pg_pool_t8hash_keyERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN8Throttle4takeEl _ZNK9pg_pool_t14raw_hash_to_pgEj _ZN16object_locator_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9MonClient21get_monmap_and_configEv _ZN9MonClient17start_mon_commandEiRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS6_EERKN4ceph6buffer7v15_2_04listEPSE_PS6_P7Context _ZlsRSoRK9hobject_t _ZN8Throttle3putEl _ZNK6OSDMap12identify_osdERK13entity_addr_t _ZNK9pg_pool_t11snap_existsEPKc _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK4ceph5crush13CrushLocation12get_locationB5cxx11Ev _ZN4ceph6common12PerfCounters3decEim reverse_bits ceph_crc32c_zeros _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN9MgrClient4initEv _ZN4cephlsINS_11time_detail17coarse_mono_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _ZN28inconsistent_snapset_wrapper6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN6HitSet6ParamsC1ERKS0_ _ZN9MonClient8shutdownEv _ZN4ceph6common12PerfCountersD1Ev safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN4ceph6common12PerfCounters3incEim _ZN17scrub_ls_result_t6decodeERN4ceph6buffer7v15_2_04list13iterator_implILb1EEE _ZN9Messenger23create_client_messengerEPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN8Throttle3getEll _ZN11md_config_t7set_valER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEEPKcPNSt7__cxx1118basic_stringstreamIcS7_SaIcEEE _Z3cmpRK9hobject_tS1_ _ZN9MgrClient8shutdownEv _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN7mempool6pool_t12adjust_countEll _ZN6MonSub4wantERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEmj _ZN9MonClient4initEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph6common16RefCountedObjectD2Ev _ZN4ceph6common11CephContext16get_admin_socketEv _Z17ceph_pool_op_namei _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN5OSDOp27split_osd_op_vector_in_dataERSt6vectorIS_SaIS_EERN4ceph6buffer7v15_2_04listE _ZNK4ceph6common16RefCountedObject3putEv _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN13entity_addr_t5parseEPKcPS1_i _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZNK4pg_t8is_splitEjjPSt3setIS_St4lessIS_ESaIS_EE _Z19ceph_str_hash_linuxPKcj _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPPci _ZN6OSDMap6decodeERN4ceph6buffer7v15_2_04listE _ZN9MonClient12ping_monitorERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZNK12CrushWrapper28get_common_ancestor_distanceEPN4ceph6common11CephContextEiRKSt8multimapINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_St4lessISA_ESaISt4pairIKSA_SA_EEE _Z16ceph_osd_op_namei _ZNK6OSDMap13get_blacklistEPSt3setI13entity_addr_tSt4lessIS1_ESaIS1_EE _ZN9MonClient11get_versionENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPmS6_P7Context _ZNK16object_locator_t6encodeERN4ceph6buffer7v15_2_04listE _ZN8ThrottleD1Ev _ZN6MonSub3gotERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEm _ZN8Finisher4stopEv _ZNK9pg_pool_t23is_unmanaged_snaps_modeEv _ZN18CephInitParametersC1Ej _ZN4pg_t5parseEPKc _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv _ZTI6Thread _ZTI16OutputDataSocket _ZN16OutputDataSocket5entryEv _ZTIN4ceph6common16RefCountedObjectE _ZTIN4ceph9FormatterE _ZN4ceph9Formatter11dump_formatESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph9Formatter14dump_format_nsESt17basic_string_viewIcSt11char_traitsIcEEPKcS6_z _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN4ceph6global20g_assert_thread_nameE _ZN4ceph6global10g_eio_pathE _ZN4ceph6global13g_eio_devnameE _ZN4ceph6global12g_eio_lengthE _ZN9pg_pool_t20APPLICATION_NAME_RGWE _ZN4ceph6global11g_eio_errorE _ZN4ceph6global13g_assert_funcE _ZN4ceph6global13g_assert_lineE _ZN4ceph6global13g_assert_fileE _ZN4ceph6global14g_ceph_contextE _ZTIN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph10_page_sizeE _ZTVN4ceph14ResolvHWrapperE _ZTVN4ceph6buffer7v15_2_05errorE g_code_env _ZTIN4ceph6buffer7v15_2_05errorE _ZN4ceph6global12g_eio_offsetE _ZTV15JSONFormattable _ZN4ceph6global12g_eio_iotypeE _ZTVN4ceph6buffer7v15_2_015malformed_inputE _ZN4ceph6global18g_assert_conditionE _ZN4ceph6global5g_eioE _ZTIN4ceph6buffer7v15_2_013end_of_bufferE g_lockdep _ZTVN4ceph6buffer7v15_2_013end_of_bufferE _ZN4ceph11DNSResolverD1Ev _ZTVN4ceph13JSONFormatterE _ZN4ceph6global12g_assert_msgE _ZN4ceph6global14g_process_nameE _ZTVN4ceph12XMLFormatterE mime_encode_as_qp _ZN4ceph12XMLFormatter13close_sectionEv _Z11argv_to_veciPPKcRSt6vectorIS0_SaIS0_EE _ZN4cephlsERSoRKNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN11md_config_t10parse_argvER12ConfigValuesRK13ConfigTrackerRSt6vectorIPKcSaIS7_EEi _ZN4ceph5crush13CrushLocation15init_on_startupEv _ZN4ceph13JSONFormatter13close_sectionEv _Z14strict_strtollPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN9SafeTimerD1Ev _Z19escape_xml_attr_lenPKc _Z27gen_rand_alphanumeric_lowerB5cxx11PN4ceph6common11CephContextEm _ZN4ceph13HTMLFormatterC1Eb _ZN9SafeTimer15add_event_afterEdP7Context _ZNK11md_config_t15get_val_genericB5cxx11ERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log11dump_recentEv _ZNK4ceph6common11CephContext15get_module_typeEv _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRNS_4listIS4_SaIS4_EEE encode_utf8 _Z11encode_jsonPKcRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPN4ceph9FormatterE _ZN16OutputDataSocketD2Ev _ZN10ThreadPoolC1EPN4ceph6common11CephContextENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES9_iPKc _ZN9MonClientD1Ev _ZN10JSONParser5parseEPKci _ZN6ThreadC2Ev _ZN4ceph6common11CephContext16notify_post_forkEv _Z14lockdep_lockedPKcib _ZN4ceph13from_iso_8601EN5boost16basic_string_refIcSt11char_traitsIcEEEb XXH64 _ZN12AuthRegistryD1Ev _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKcRSt6vectorIS4_SaIS4_EE _Z11encode_jsonPKcjPN4ceph9FormatterE _ZN4ceph13JSONFormatter8dump_intESt17basic_string_viewIcSt11char_traitsIcEEl _ZN4ceph6crypto20zeroize_for_securityEPvm _ZN9MonClientC1EPN4ceph6common11CephContextE _ZN4ceph13JSONFormatter11dump_stringESt17basic_string_viewIcSt11char_traitsIcEES4_ _ZN4ceph6common22PerfCountersCollection3addEPNS0_12PerfCountersE _ZN4ceph12XMLFormatter5flushERSo _ZN4ceph13JSONFormatter11dump_streamESt17basic_string_viewIcSt11char_traitsIcEE _Z15decode_json_objR7utime_tP7JSONObj _ZN4ceph7logging3Log12set_log_fileESt17basic_string_viewIcSt11char_traitsIcEE _ZNK4ceph6common11CephContext14get_init_flagsEv _Z14common_preinitRK18CephInitParameters18code_environment_ti check_for_control_characters _ZN11JSONObjIterdeEv _ZNK6Thread10is_startedEv _Z11encode_jsonPKcmPN4ceph9FormatterE _ZN7JSONObj9is_objectEv _ZN4ceph6bufferlsERSoRKNS0_7v15_2_04listE _Z15decode_json_objRjP7JSONObj _ZN4ceph6common22PerfCountersCollection6removeEPNS0_12PerfCountersE _ZN11md_config_t15set_val_defaultER12ConfigValuesRK13ConfigTrackerSt17basic_string_viewIcSt11char_traitsIcEERKNSt7__cxx1112basic_stringIcS7_SaIcEEE _ZN10ThreadPoolD1Ev _ZN4ceph14PluginRegistry13get_with_loadERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES8_ _Z19ceph_version_to_strv _ZN4ceph12XMLFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN15JSONFormattable3setERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_ _ZN4ceph18__ceph_assert_failERKNS_11assert_dataE _ZN4ceph12XMLFormatter25open_object_section_in_nsESt17basic_string_viewIcSt11char_traitsIcEEPKc _ZN4ceph7logging3Log17set_flush_on_exitEv _Z19lockdep_will_unlockPKci _ZN10ThreadPool7unpauseEv _Z14dout_emergencyPKc _ZN4ceph13JSONFormatter13dump_unsignedESt17basic_string_viewIcSt11char_traitsIcEEm _Z13strict_strtolPKciPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph9Formatter20dump_format_unquotedESt17basic_string_viewIcSt11char_traitsIcEEPKcz _ZN12CryptoRandom9get_bytesEPci safe_read_file _ZN4ceph7logging3Log14chown_log_fileEjj _ZN4ceph6common11CephContext14set_init_flagsEi _ZN11AdminSocket16register_commandESt17basic_string_viewIcSt11char_traitsIcEEP15AdminSocketHookS3_ _Z15decode_json_objRN4ceph6buffer7v15_2_04listEP7JSONObj _ZN4ceph6common12PerfCounters4tincEiNSt6chrono8durationImSt5ratioILl1ELl1000000000EEEE _ZN16OutputDataSocket13append_outputERN4ceph6buffer7v15_2_04listE _Z15decode_json_objRlP7JSONObj _ZN4ceph6crypto3ssl13OpenSSLDigest6UpdateEPKhm _ZN4ceph9Formatter5flushERNS_6buffer7v15_2_04listE _ZN7JSONObj10find_firstEv _ZN4ceph12__ceph_abortEPKciS1_RKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigest5FinalEPh _ZN6ThreadD2Ev _ZN6Thread4killEi _Z27gen_rand_alphanumeric_upperPN4ceph6common11CephContextEPcm _Z16lockdep_registerPKc _ZNK11md_config_t16do_argv_commandsERK12ConfigValues _ZNK11md_config_t7get_valERK12ConfigValuesSt17basic_string_viewIcSt11char_traitsIcEEPNSt7__cxx1112basic_stringIcS5_SaIcEEE _ZN4ceph6crypto3ssl13OpenSSLDigestD2Ev _ZN4ceph6common11CephContext15notify_pre_forkEv _ZN10ThreadPool4stopEb _ZN11JSONObjIterppEv _ZN8Finisher21finisher_thread_entryEv _ZN4ceph7logging3Log12submit_entryEONS0_5EntryE _ZN8Finisher5startEv _ZN4ceph13JSONFormatter5flushERSo _ZN11JSONObjIterD1Ev ceph_unarmor _Z10env_to_vecRSt6vectorIPKcSaIS1_EES1_ _ZNK4ceph9BackTrace5printERSo _ZN4ceph6common11CephContext11reopen_logsEv _ZN4ceph9FormatterC2Ev _ZN9SafeTimer4initEv _ZNK15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common11CephContext3putEv _ZN10ThreadPool5startEv _ZN9SafeTimer8shutdownEv _ZN7JSONObj8is_arrayEv get_process_name _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERSt6vectorIS4_SaIS4_EE _ZN10JSONParserD1Ev _ZN4ceph13JSONFormatter19open_object_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph7logging3Log5flushEv _ZN4ceph13JSONFormatterC1Eb _ZN4ceph7logging3Log5startEv _Z11encode_jsonPKcbPN4ceph9FormatterE _ZN4ceph6bufferlsERSoRKNS0_7v15_2_05errorE _ZN11md_config_t26complain_about_parse_errorEPN4ceph6common11CephContextE _ZN4ceph6crypto3ssl13OpenSSLDigest7RestartEv _ZlsRSoRK18xml_stream_escaper _Z18lockdep_unregisteri _Z14dout_emergencyRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE check_utf8 _ZN4ceph6crypto3ssl13OpenSSLDigestC2EPK9evp_md_st _ZN16OutputDataSocketC2EPN4ceph6common11CephContextEm _ZN4ceph7logging3Log15reopen_log_fileEv _ZN9MonClient21get_monmap_and_configEv _ZN8Throttle3putEl _Z15decode_json_objRmP7JSONObj _ZN4ceph23register_assert_contextEPNS_6common11CephContextE _Z17lockdep_will_lockPKcibb _ZN15JSONFormattableixERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK10EntityName6to_strB5cxx11Ev _ZN4ceph7logging3Log16set_stderr_levelEii _ZN7JSONObj8find_objERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z21gen_rand_alphanumericB5cxx11PN4ceph6common11CephContextEm _Z11encode_jsonPKcS0_PN4ceph9FormatterE _ZN4ceph6common11CephContext18get_crypto_handlerEi _ZN4ceph6common12PerfCounters3decEim _ZN16OutputDataSocket4initERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z12pipe_cloexecPii _ZN4ceph6global6g_confEv _ZN4ceph6common19PerfCountersBuilder20create_perf_countersEv _ZN7JSONObj8get_dataERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPNS_8data_valE _Z18common_init_finishPN4ceph6common11CephContextE ceph_armor _Z11encode_jsonPKclPN4ceph9FormatterE _ZN6Thread6createEPKcm _ZNK11md_config_t17early_expand_metaERK12ConfigValuesRNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSo _ZNK15JSONFormattable4findERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS5_ _ZNK10EntityName6get_idB5cxx11Ev _ZN4ceph12XMLFormatterC1Ebbb _ZN4ceph11DNSResolver13resolve_cnameEPNS_6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPS9_Pb _ZN4ceph6common12PerfCountersD1Ev _ZN12AuthRegistryC1EPN4ceph6common11CephContextE safe_read _ZN4ceph6common19PerfCountersBuilderC1EPNS0_11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEii _ZN10Compressor6createEPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN4ceph6common12PerfCounters3incEim _ZN4ceph6common19PerfCountersBuilder11add_u64_avgEiPKcS3_S3_ii _ZN4ceph7logging3Log4stopEv _ZNK15JSONFormattable3defERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _Z11get_str_vecRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPKc _ZN8Throttle3getEll _Z12get_str_listRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEERNS_4listIS4_SaIS4_EEE _ZN4cephlsINS_11time_detail17coarse_real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZN7JSONObj10find_firstERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZNK15JSONFormattable6existsERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE _ZN10ThreadPool5pauseEv _ZNK4ceph6common16RefCountedObject4_getEv _ZN4ceph13JSONFormatter18open_array_sectionESt17basic_string_viewIcSt11char_traitsIcEE _ZN4ceph6common16RefCountedObjectD2Ev _Z27gen_rand_alphanumeric_plainPN4ceph6common11CephContextEPcm _ZN4ceph6common11CephContext16get_admin_socketEv _ZN6Thread4joinEPPv _Z11get_str_mapRKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEPSt3mapIS4_S4_St4lessIS4_ESaISt4pairIS5_S4_EEEPKc _ZN9SafeTimer17cancel_all_eventsEv _ZNK15JSONFormattable3defEb _Z24ceph_argparse_early_argsRSt6vectorIPKcSaIS1_EEjPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESB_ _ZN4cephlsINS_11time_detail10real_clockELPv0EEERSoS4_RKNSt6chrono10time_pointIT_NS7_8durationEEE _ZNK4ceph6common16RefCountedObject3putEv _ZN10Compressor6createEPN4ceph6common11CephContextEi _Z15escape_xml_attrPKcPc _ZN11md_config_t9parse_envEjR12ConfigValuesRK13ConfigTrackerPKc _ZN4ceph6common19PerfCountersBuilder15add_u64_counterEiPKcS3_S3_ii _ZN10JSONParserC1Ev _Z13block_signalsPKiP10__sigset_t _ZN8ThrottleC1EPN4ceph6common11CephContextERKNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEElb _Z12cpp_strerrorB5cxx11i _ZN11AdminSocket19unregister_commandsEPK15AdminSocketHook _ZN4ceph6common19PerfCountersDeleterclEPNS0_12PerfCountersE _ZN4ceph11time_detail10real_clock18from_ceph_timespecERK13ceph_timespec _ZNK15JSONFormattable3defEi _Z19ceph_str_hash_linuxPKcj _ZN12AuthRegistry15_refresh_configEv _ZN9SafeTimerC1EPN4ceph6common11CephContextERSt5mutexb _ZNK12AuthRegistry21get_supported_methodsEiPSt6vectorIjSaIjEES3_ _ZN10ThreadPool5drainEPNS_10WorkQueue_E _ZN4ceph7logging3Log18is_inside_log_lockEv _Z35gen_rand_alphanumeric_no_underscorePN4ceph6common11CephContextEPcm _ZN4ceph6common19PerfCountersBuilder7add_u64EiPKcS3_S3_ii _ZN4ceph9FormatterD2Ev _ZNK4ceph9BackTrace4dumpEPNS_9FormatterE safe_write _Z15decode_json_objRbP7JSONObj _Z11encode_jsonPKcRK15JSONFormattablePN4ceph9FormatterE _Z11encode_jsonPKcRK7utime_tPN4ceph9FormatterE _ZN8ThrottleD1Ev _ZN4ceph13JSONFormatterC2Eb _ZN4ceph6common12PerfCounters4tincEi7utime_t _ZN8Finisher4stopEv _Z11encode_jsonPKcRKN4ceph6buffer7v15_2_04listEPNS1_9FormatterE _ZN11md_config_t22finalize_reexpand_metaER12ConfigValuesRK13ConfigTracker _ZN4ceph11to_iso_8601B5cxx11ENSt6chrono10time_pointINS_11time_detail10real_clockENS0_8durationImSt5ratioILl1ELl1000000000EEEEEENS_15iso_8601_formatE _Z15decode_json_objRiP7JSONObj _Z21gen_rand_alphanumericPN4ceph6common11CephContextEPcm _ZN11md_config_t18parse_config_filesER12ConfigValuesRK13ConfigTrackerPKcPSoi _Z20get_process_name_cppB5cxx11v _ZN4ceph6common19PerfCountersBuilder12add_time_avgEiPKcS3_S3_i _Z11encode_jsonPKciPN4ceph9FormatterE _Z21pretty_version_to_strB5cxx11v _ZN4ceph6common19PerfCountersBuilderD1Ev _ZN4ceph6common11CephContext27get_perfcounters_collectionEv + /usr/lib/rpm/anolis/brp-mangle-shebangs mangling shebang in /usr/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.x86_64/src/client/Client.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/dsms-storage-1.0-0.an23.x86_64/src/mds/CDir.cc is executable but has no shebang, removing executable bit *** WARNING: ./usr/src/debug/dsms-storage-1.0-0.an23.x86_64/src/os/bluestore/bluestore_common.h is executable but has no shebang, removing executable bit + /usr/lib/rpm/anolis/remove-info-dir + /usr/lib/rpm/anolis/check-desktop-files + /usr/lib/rpm/anolis/brp-python-bytecompile '' 1 0 Bytecompiling .py files below /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib64/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/python3.10 using python3.10 Bytecompiling .py files below /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/lib/debug/usr/lib64/python3.10 using python3.10 + /usr/lib/rpm/anolis/brp-python-hardlink Processing files: dsms-storage-1.0-0.an23.x86_64 Processing files: dsms-storage-base-1.0-0.an23.x86_64 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(x86-64) = 1.0-0.an23 libceph_crypto_isal.so.1()(64bit) libceph_crypto_openssl.so()(64bit) libceph_lz4.so.2()(64bit) libceph_snappy.so.2()(64bit) libceph_zlib.so.2()(64bit) libceph_zstd.so.2()(64bit) libcls_cas.so.1()(64bit) libcls_cephfs.so.1()(64bit) libcls_hello.so.1()(64bit) libcls_journal.so.1()(64bit) libcls_kvs.so.1()(64bit) libcls_lock.so.1()(64bit) libcls_log.so.1()(64bit) libcls_lua.so.1()(64bit) libcls_numops.so.1()(64bit) libcls_otp.so.1()(64bit) libcls_queue.so.1()(64bit) libcls_rbd.so.1()(64bit) libcls_refcount.so.1()(64bit) libcls_rgw.so.1()(64bit) libcls_rgw_gc.so.1()(64bit) libcls_sdk.so.1()(64bit) libcls_timeindex.so.1()(64bit) libcls_user.so.1()(64bit) libcls_version.so.1()(64bit) libec_clay.so()(64bit) libec_isa.so()(64bit) libec_jerasure.so()(64bit) libec_jerasure_generic.so()(64bit) libec_jerasure_sse3.so()(64bit) libec_jerasure_sse4.so()(64bit) libec_lrc.so()(64bit) libec_shec.so()(64bit) libec_shec_generic.so()(64bit) libec_shec_sse3.so()(64bit) libec_shec_sse4.so()(64bit) libos_tp.so.1()(64bit) libosd_tp.so.1()(64bit) python3.10dist(ceph-volume) = 1 python3dist(ceph-volume) = 1 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(preun): /bin/sh Requires(postun): /bin/sh Requires: /usr/bin/python3 /usr/bin/sh ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libaio.so.1()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libceph_crypto_isal.so.1()(64bit) libceph_lz4.so.2()(64bit) libceph_snappy.so.2()(64bit) libceph_zlib.so.2()(64bit) libceph_zstd.so.2()(64bit) libcls_cas.so.1()(64bit) libcls_cephfs.so.1()(64bit) libcls_hello.so.1()(64bit) libcls_journal.so.1()(64bit) libcls_kvs.so.1()(64bit) libcls_lock.so.1()(64bit) libcls_log.so.1()(64bit) libcls_lua.so.1()(64bit) libcls_numops.so.1()(64bit) libcls_otp.so.1()(64bit) libcls_queue.so.1()(64bit) libcls_rbd.so.1()(64bit) libcls_refcount.so.1()(64bit) libcls_rgw.so.1()(64bit) libcls_rgw_gc.so.1()(64bit) libcls_sdk.so.1()(64bit) libcls_timeindex.so.1()(64bit) libcls_user.so.1()(64bit) libcls_version.so.1()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libfuse3.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libleveldb.so.1()(64bit) liblttng-ust.so.1()(64bit) liblz4.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) liboath.so.0()(64bit) liboath.so.0(LIBOATH_1.10.0)(64bit) liboath.so.0(LIBOATH_1.12.0)(64bit) liboath.so.0(LIBOATH_1.2.0)(64bit) libos_tp.so.1()(64bit) libosd_tp.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libsnappy.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) libz.so.1()(64bit) python(abi) = 3.10 python3.10dist(ceph) rtld(GNU_HASH) 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.x86_64 Provides: config(dsms-storage-common) = 1.0-0.an23 dsms-storage-common = 1.0-0.an23 dsms-storage-common(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libaio.so.1()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libbabeltrace-ctf.so.1()(64bit) libbabeltrace.so.1()(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_2.17)(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.9)(64bit) libcap-ng.so.0()(64bit) libceph-common.so.2()(64bit) libcephfs.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libexpat.so.1()(64bit) libform.so.6()(64bit) libfuse3.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libkeyutils.so.1()(64bit) libkeyutils.so.1(KEYUTILS_0.3)(64bit) liblber.so.2()(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) libleveldb.so.1()(64bit) liblz4.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) libncurses.so.6()(64bit) liboath.so.0()(64bit) liboath.so.0(LIBOATH_1.10.0)(64bit) liboath.so.0(LIBOATH_1.2.0)(64bit) librabbitmq.so.4()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) libradosstriper.so.1()(64bit) librbd.so.1()(64bit) librdkafka.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libsnappy.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libtinfo.so.6()(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Processing files: dsms-storage-mds-1.0-0.an23.x86_64 Provides: dsms-storage-mds = 1.0-0.an23 dsms-storage-mds(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Processing files: dsms-storage-mon-1.0-0.an23.x86_64 Provides: ceph-test:/usr/bin/ceph-monstore-tool dsms-storage-mon = 1.0-0.an23 dsms-storage-mon(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libaio.so.1()(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libfuse3.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libleveldb.so.1()(64bit) liblz4.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libsnappy.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Recommends: nvme-cli Processing files: dsms-storage-mgr-1.0-0.an23.x86_64 Provides: dsms-storage-mgr = 1.0-0.an23 dsms-storage-mgr(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_python310.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libpython3.10.so.1.0()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) 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.x86_64 Provides: dsms-storage-fuse = 1.0-0.an23 dsms-storage-fuse(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libfuse3.so.3()(64bit) libfuse3.so.3(FUSE_3.0)(64bit) libfuse3.so.3(FUSE_3.12)(64bit) libfuse3.so.3(FUSE_3.2)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Processing files: rbd-fuse-1.0-0.an23.x86_64 Provides: rbd-fuse = 1.0-0.an23 rbd-fuse(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libfuse3.so.3()(64bit) libfuse3.so.3(FUSE_3.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) librados.so.2()(64bit) librbd.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Processing files: rbd-mirror-1.0-0.an23.x86_64 Provides: rbd-mirror = 1.0-0.an23 rbd-mirror(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Processing files: dsms-storage-immutable-object-cache-1.0-0.an23.x86_64 Provides: dsms-storage-immutable-object-cache = 1.0-0.an23 dsms-storage-immutable-object-cache(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Processing files: rbd-nbd-1.0-0.an23.x86_64 Provides: rbd-nbd = 1.0-0.an23 rbd-nbd(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libnl-3.so.200()(64bit) libnl-3.so.200(libnl_3)(64bit) libnl-genl-3.so.200()(64bit) libnl-genl-3.so.200(libnl_3)(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librbd.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Processing files: dsms-storage-radosgw-1.0-0.an23.x86_64 Provides: dsms-storage-radosgw = 1.0-0.an23 dsms-storage-radosgw(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libexpat.so.1()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) liblber.so.2()(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) liboath.so.0()(64bit) librabbitmq.so.4()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) libradosgw.so.2()(64bit) librdkafka.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Recommends: gawk Processing files: dsms-storage-resource-agents-1.0-0.an23.x86_64 Provides: dsms-storage-resource-agents = 1.0-0.an23 dsms-storage-resource-agents(x86-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.x86_64 Provides: config(dsms-storage-osd) = 1.0-0.an23 dsms-storage-osd = 1.0-0.an23 dsms-storage-osd(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libaio.so.1()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_1.0)(64bit) libblkid.so.1(BLKID_2.17)(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libfuse3.so.3()(64bit) libfuse3.so.3(FUSE_3.0)(64bit) libfuse3.so.3(FUSE_3.1)(64bit) libfuse3.so.3(FUSE_3.12)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libibverbs.so.1(IBVERBS_1.0)(64bit) libibverbs.so.1(IBVERBS_1.1)(64bit) libleveldb.so.1()(64bit) liblz4.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) librdmacm.so.1()(64bit) librdmacm.so.1(RDMACM_1.0)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.9)(64bit) libsnappy.so.1()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtcmalloc.so.4()(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) libz.so.1()(64bit) rtld(GNU_HASH) Recommends: nvme-cli smartmontools Processing files: librados2-1.0-0.an23.x86_64 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(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_1.0)(64bit) libblkid.so.1(BLKID_2.17)(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.15)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libibverbs.so.1(IBVERBS_1.0)(64bit) libibverbs.so.1(IBVERBS_1.1)(64bit) liblttng-ust.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) librdmacm.so.1()(64bit) librdmacm.so.1(RDMACM_1.0)(64bit) libresolv.so.2()(64bit) libresolv.so.2(GLIBC_2.9)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) libudev.so.1(LIBUDEV_183)(64bit) rtld(GNU_HASH) Obsoletes: ceph-libs < 1.0-0.an23 Processing files: librados-devel-1.0-0.an23.x86_64 Provides: librados-devel = 1.0-0.an23 librados-devel(x86-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: libboost_program_options.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) librados.so.2()(64bit) librados_tp.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) rtld(GNU_HASH) Obsoletes: ceph-devel < 1.0-0.an23 librados2-devel < 1.0-0.an23 Processing files: libradospp-devel-1.0-0.an23.x86_64 Provides: libradospp-devel = 1.0-0.an23 libradospp-devel(x86-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.x86_64 Provides: librgw.so.2()(64bit) librgw2 = 1.0-0.an23 librgw2(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libcrypto.so.3(OPENSSL_3.0.0)(64bit) libcurl.so.4()(64bit) libexpat.so.1()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) liblber.so.2()(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) liblttng-ust.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) liboath.so.0()(64bit) librabbitmq.so.4()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librdkafka.so.1()(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Processing files: librgw-devel-1.0-0.an23.x86_64 Provides: librgw-devel = 1.0-0.an23 librgw-devel(x86-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.x86_64 Provides: python-rgw = 1.0-0.an23 python3-rgw = 1.0-0.an23 python3-rgw(x86-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: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.2()(64bit) libm.so.6()(64bit) libpython3.10.so.1.0()(64bit) librados.so.2()(64bit) librgw.so.2()(64bit) python(abi) = 3.10 rtld(GNU_HASH) Obsoletes: python-rgw < 1.0-0.an23 Processing files: python3-rados-1.0-0.an23.x86_64 Provides: python-rados = 1.0-0.an23 python3-rados = 1.0-0.an23 python3-rados(x86-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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.2()(64bit) libm.so.6()(64bit) libpython3.10.so.1.0()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) python(abi) = 3.10 rtld(GNU_HASH) Obsoletes: python-rados < 1.0-0.an23 Processing files: libradosstriper1-1.0-0.an23.x86_64 Provides: libradosstriper.so.1()(64bit) libradosstriper1 = 1.0-0.an23 libradosstriper1(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Processing files: libradosstriper-devel-1.0-0.an23.x86_64 Provides: libradosstriper-devel = 1.0-0.an23 libradosstriper-devel(x86-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.x86_64 Provides: librbd.so.1()(64bit) librbd1 = 1.0-0.an23 librbd1(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) liblttng-ust.so.1()(64bit) libm.so.6()(64bit) librados.so.2()(64bit) librados.so.2(LIBRADOS_14.2.0)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) Obsoletes: ceph-libs < 1.0-0.an23 Processing files: librbd-devel-1.0-0.an23.x86_64 Provides: librbd-devel = 1.0-0.an23 librbd-devel(x86-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.x86_64 Provides: python-rbd = 1.0-0.an23 python3-rbd = 1.0-0.an23 python3-rbd(x86-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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcrypt.so.2()(64bit) libm.so.6()(64bit) libpython3.10.so.1.0()(64bit) librados.so.2()(64bit) librbd.so.1()(64bit) python(abi) = 3.10 rtld(GNU_HASH) Obsoletes: python-rbd < 1.0-0.an23 Processing files: libcephfs2-1.0-0.an23.x86_64 Provides: libcephfs.so.2()(64bit) libcephfs2 = 1.0-0.an23 libcephfs2(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libblkid.so.1()(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) libceph-common.so.2()(64bit) libcrypto.so.3()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libibverbs.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) librdmacm.so.1()(64bit) libresolv.so.2()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libudev.so.1()(64bit) rtld(GNU_HASH) 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.x86_64 Provides: libcephfs-devel = 1.0-0.an23 libcephfs-devel(x86-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.x86_64 Provides: python-cephfs = 1.0-0.an23 python3-cephfs = 1.0-0.an23 python3-cephfs(x86-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: libc.so.6()(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libcephfs.so.2()(64bit) libcrypt.so.2()(64bit) libm.so.6()(64bit) libpython3.10.so.1.0()(64bit) python(abi) = 3.10 rtld(GNU_HASH) Obsoletes: python-cephfs < 1.0-0.an23 Processing files: python3-ceph-argparse-1.0-0.an23.x86_64 Provides: python-ceph-argparse = 1.0-0.an23 python3-ceph-argparse = 1.0-0.an23 python3-ceph-argparse(x86-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.x86_64 Provides: python-ceph-common = 1.0-0.an23 python3-ceph-common = 1.0-0.an23 python3-ceph-common(x86-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.x86_64 Provides: cephfs-shell = 1.0-0.an23 cephfs-shell(x86-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.x86_64 Provides: ceph-test = 1.0-0.an23 ceph-test(x86-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-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libaio.so.1()(64bit) libaio.so.1(LIBAIO_0.1)(64bit) libaio.so.1(LIBAIO_0.4)(64bit) libblkid.so.1()(64bit) libblkid.so.1(BLKID_2.17)(64bit) libboost_atomic.so.1.81.0()(64bit) libboost_chrono.so.1.81.0()(64bit) libboost_date_time.so.1.81.0()(64bit) libboost_iostreams.so.1.81.0()(64bit) libboost_program_options.so.1.81.0()(64bit) libboost_random.so.1.81.0()(64bit) libboost_regex.so.1.81.0()(64bit) libboost_system.so.1.81.0()(64bit) libboost_thread.so.1.81.0()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.10)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.25)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.5)(64bit) libc.so.6(GLIBC_2.6)(64bit) libc.so.6(GLIBC_2.7)(64bit) libc.so.6(GLIBC_2.8)(64bit) libc.so.6(GLIBC_2.9)(64bit) libceph-common.so.2()(64bit) 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) libibverbs.so.1()(64bit) libkeyutils.so.1()(64bit) libkeyutils.so.1(KEYUTILS_0.3)(64bit) liblber.so.2()(64bit) libldap.so.2()(64bit) libldap.so.2(OPENLDAP_2.200)(64bit) libleveldb.so.1()(64bit) liblz4.so.1()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.29)(64bit) 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.x86_64 Provides: rados-objclass-devel = 1.0-0.an23 rados-objclass-devel(x86-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.x86_64 Provides: dsms-storage-selinux = 1.0-0.an23 dsms-storage-selinux(x86-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.pEqPVW + umask 022 + cd /builddir/build/BUILD + cd dsms-storage + DOCDIR=/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/doc/dsms-storage-grafana-dashboards + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/doc/dsms-storage-grafana-dashboards + cp -pr monitoring/grafana/dashboards/README /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/doc/dsms-storage-grafana-dashboards + cp -pr monitoring/grafana/README.md /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64/usr/share/doc/dsms-storage-grafana-dashboards + RPM_EC=0 ++ jobs -p + exit 0 Provides: config(dsms-storage-grafana-dashboards) = 1.0-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.x86_64 Provides: dsms-storage-debugsource = 1.0-0.an23 dsms-storage-debugsource(x86-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.x86_64 Provides: debuginfo(build-id) = 0847354daf486c71bb04653696dca2ae4803bb62 debuginfo(build-id) = 08db141f8ecb1bca6ee155d750c8d9d090bade53 debuginfo(build-id) = 130ccb0f91f32b7fba873be5dc503b4823b100e0 debuginfo(build-id) = 143b3dd4f151e0b3dd8763206948eb7033cbdc39 debuginfo(build-id) = 24f76341dd68a0c778592ba422592f2951ce2224 debuginfo(build-id) = 28d895af29e898fe87ed6ffd6db27a95cd662658 debuginfo(build-id) = 37711c982668182dd663af400678d67ee98c3349 debuginfo(build-id) = 3ee494b2d53aae5d535841b7e13490471d45e292 debuginfo(build-id) = 3f1ed737d0a9837c6f2058f888b30e7363c0579b debuginfo(build-id) = 45c2a49f08f985767cd3665f50c6d75c96e521bd debuginfo(build-id) = 4fff3909bd8ae4b5fd2f978be95427803a49f71b debuginfo(build-id) = 51388e1e95d672f7dce0aca3f43ce86b25c76760 debuginfo(build-id) = 53242df9bf022ae247870c545da2049810b426c4 debuginfo(build-id) = 5eac01d3efcc7cc2f9f4d72f1996afc7f3020756 debuginfo(build-id) = 62a997da37034efd1f63b5e210e0e329e08c3f6a debuginfo(build-id) = 631b042f626a1fa71ab06b2dc4f64bdc0492f814 debuginfo(build-id) = 653ae9fb1d19e1698af9e9caccf05d431f2308b8 debuginfo(build-id) = 6592ee64a7914062bde5a8c0efc1095e2ad540af debuginfo(build-id) = 66fa549cdfd13f85154b47ce0f14639e56d79315 debuginfo(build-id) = 6e3166cc14982dd75bcb1e119384dba9bc080510 debuginfo(build-id) = 6fc370d1cefbd99a1b99063171f874bbf666656e debuginfo(build-id) = 781bbdd2a9c6d257dacbb72dee1fb68fd5a062c0 debuginfo(build-id) = 78d92b4a2bf69aa8e32fd88fc8c9b070529917fb debuginfo(build-id) = 7c9b5ec8eb7809353d36d303ed614f7fd58480bf debuginfo(build-id) = 83154c4ca0b4b7d5443072a8e27eb9d9bdfdc9ff debuginfo(build-id) = 8322f90a28fdd3e6a871cbd6ccfe2d6fb79d1012 debuginfo(build-id) = 874e11eb15f52fe4e99161c5c8c2945b46340729 debuginfo(build-id) = 94a459f2d4fc13b6ac7b95d4984d9540fa099c4b debuginfo(build-id) = a038e564dcd1e57003cda4b545fb6306bd1264b1 debuginfo(build-id) = acdb7890b46788e082ca9238a72fe892b8816514 debuginfo(build-id) = b1e6c41c891d66a34188fe0f19eb49913ff6cfe6 debuginfo(build-id) = b7b4ae59c8c770e344156ee15c01cb4911c9e597 debuginfo(build-id) = c7048aa76c5f6dc51ebd7f9d9f011f3d05098696 debuginfo(build-id) = c972c6b39945ec3cd61494cb1828bf08104b8d9e debuginfo(build-id) = d4e0c27da868146305fc4d9ffcbeaf1e05dccedc debuginfo(build-id) = d68a8c773a6e71712409a3c3300fa277a4ebcc66 debuginfo(build-id) = d79cf2da140f4fb07978987ae1affadb01a37252 debuginfo(build-id) = dd311b3adf83a11bfbf1bc508d5f8c4d7fd3fd65 debuginfo(build-id) = e35165957be66186b34bff6c06b060c9e5e2eeaa debuginfo(build-id) = f5d2a4949d13c40d8a08fb75b9e7b54d9b31d803 debuginfo(build-id) = f7bbb5e884ee8a56ab1a7e58a3cb6e4c842c5c0d debuginfo(build-id) = f93e88988e8e78dc39ed1964d5b00621264f06bf dsms-storage-base-debuginfo = 1.0-0.an23 dsms-storage-base-debuginfo(x86-64) = 1.0-0.an23 libceph_crypto_isal.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libceph_crypto_openssl.so-1.0-0.an23.x86_64.debug()(64bit) libceph_lz4.so.2.0.0-1.0-0.an23.x86_64.debug()(64bit) libceph_snappy.so.2.0.0-1.0-0.an23.x86_64.debug()(64bit) libceph_zlib.so.2.0.0-1.0-0.an23.x86_64.debug()(64bit) libceph_zstd.so.2.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_cas.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_cephfs.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_hello.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_journal.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_kvs.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_lock.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_log.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_lua.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_numops.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_otp.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_queue.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_rbd.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_refcount.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_rgw.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_rgw_gc.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_sdk.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_timeindex.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_user.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libcls_version.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libec_clay.so-1.0-0.an23.x86_64.debug()(64bit) libec_isa.so-1.0-0.an23.x86_64.debug()(64bit) libec_jerasure.so-1.0-0.an23.x86_64.debug()(64bit) libec_jerasure_generic.so-1.0-0.an23.x86_64.debug()(64bit) libec_jerasure_sse3.so-1.0-0.an23.x86_64.debug()(64bit) libec_jerasure_sse4.so-1.0-0.an23.x86_64.debug()(64bit) libec_lrc.so-1.0-0.an23.x86_64.debug()(64bit) libec_shec.so-1.0-0.an23.x86_64.debug()(64bit) libec_shec_generic.so-1.0-0.an23.x86_64.debug()(64bit) libec_shec_sse3.so-1.0-0.an23.x86_64.debug()(64bit) libec_shec_sse4.so-1.0-0.an23.x86_64.debug()(64bit) libos_tp.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libosd_tp.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-0.an23 Processing files: dsms-storage-common-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 04c1172858aaa94f173430dfc020526eb3321ba6 debuginfo(build-id) = 06e75bb17c0383bbe7b823ffeedd509f5502030d debuginfo(build-id) = 0b8bcf42c31d244508a21ce8f85bfb3d0ac1140c debuginfo(build-id) = 166316b900a4d9fc147435efeae96315e209afc0 debuginfo(build-id) = 3557567c2686e1f62a6920c7418c8d8672ca92f5 debuginfo(build-id) = 36edd37398b7e0ed688b77cde4f03c383ef923d8 debuginfo(build-id) = 37f95e8a2199d129db6b4f9c9e08c08d8d3020a1 debuginfo(build-id) = 5f94e26f235ec9c5e502f679f4e1552c192286bf debuginfo(build-id) = 78bebe25b0b03f426284b9fd65ee393e56cf77c2 debuginfo(build-id) = 7cdada48180a9d77de4d7e211150a78d1ea153a9 debuginfo(build-id) = 8ea8fafa7c4d77160d92187e014ae67675d43281 debuginfo(build-id) = 9f013948c2a1d804ba529906d08df34fc5755382 debuginfo(build-id) = d672cec42f7fe60f3a8152a7ddd76923604e699b dsms-storage-common-debuginfo = 1.0-0.an23 dsms-storage-common-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: dsms-storage-mds-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 6cb7203587ffd7126f0a2d6a568943be539ed31a dsms-storage-mds-debuginfo = 1.0-0.an23 dsms-storage-mds-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: dsms-storage-mon-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 56b9dabb3fe13c6bb7d6c1350dc8f1b443e0ba6b debuginfo(build-id) = db13641a85faa391172de7359e358e720d392c94 dsms-storage-mon-debuginfo = 1.0-0.an23 dsms-storage-mon-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: dsms-storage-mgr-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 1f04d16fac29d2c0d04a78883b7d0575ad43ad19 dsms-storage-mgr-debuginfo = 1.0-0.an23 dsms-storage-mgr-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: dsms-storage-fuse-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 37f66a5643e90adf2933e796a3d09ce883ef272d dsms-storage-fuse-debuginfo = 1.0-0.an23 dsms-storage-fuse-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: rbd-fuse-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = e46ac6254143895e04c5e26076dade50538243b0 rbd-fuse-debuginfo = 1.0-0.an23 rbd-fuse-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: rbd-mirror-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 639155269e51732253d5d1c07d28a82b8b90c9b0 rbd-mirror-debuginfo = 1.0-0.an23 rbd-mirror-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: dsms-storage-immutable-object-cache-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = cd724d441ac2d87f02017cd30b5d2907307cde60 dsms-storage-immutable-object-cache-debuginfo = 1.0-0.an23 dsms-storage-immutable-object-cache-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: rbd-nbd-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 73a18b7a87dc10520c54699fe34a3ba388d6bae7 rbd-nbd-debuginfo = 1.0-0.an23 rbd-nbd-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: dsms-storage-radosgw-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 18951be4429fbc97ae4b5bc81ef3cd9436c81bbf debuginfo(build-id) = 6cd760c64055273d2fc65ace90e2bfe0cb019242 debuginfo(build-id) = 725589235b20361b67514443c4dcdc30ec7046ae debuginfo(build-id) = c50294c8815d16fa44c11872681034e4d5c43231 debuginfo(build-id) = cb5a99057225e93293dd8d9be5f745f074f33667 debuginfo(build-id) = f9965f51d6134f5b6e4553e8158d9d09b64c7885 dsms-storage-radosgw-debuginfo = 1.0-0.an23 dsms-storage-radosgw-debuginfo(x86-64) = 1.0-0.an23 libradosgw.so.2.0.0-1.0-0.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-0.an23 Processing files: dsms-storage-osd-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 1788072b94a1d9b6ea76bea57a56c5828615a5fd debuginfo(build-id) = 25eb2de19a138907fb4f5aa59784763dfeb1a7ae debuginfo(build-id) = 7d24c683cad071855f84143d3146c72f976357b5 debuginfo(build-id) = 87daa9efdaa545719f8acff5113c990373fddf8a debuginfo(build-id) = a9daefd37107e193b2f19c29a884deb6f9e9837b dsms-storage-osd-debuginfo = 1.0-0.an23 dsms-storage-osd-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: librados2-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 0e74a22e74be742caab330c739cc110fba1115c4 debuginfo(build-id) = 8bcfb4b169f696e315ead59bd719302e0123a523 debuginfo(build-id) = d2247f904de051f741e0d43c2984d40d1cde0e8e libceph-common.so.2-1.0-0.an23.x86_64.debug()(64bit) librados.so.2.0.0-1.0-0.an23.x86_64.debug()(64bit) librados2-debuginfo = 1.0-0.an23 librados2-debuginfo(x86-64) = 1.0-0.an23 librados_tp.so.2.0.0-1.0-0.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-0.an23 Processing files: librados-devel-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 63792aa94af1ad602594213182b5723a9bf462a7 librados-devel-debuginfo = 1.0-0.an23 librados-devel-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: librgw2-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 0db94576fb5bb13eabf1caa9144715f190120f25 debuginfo(build-id) = 50ba9931c276b761a62c943cf272da8d59860660 debuginfo(build-id) = 742f7010dc90480220337f92aaa8f78656724e41 librgw.so.2.0.0-1.0-0.an23.x86_64.debug()(64bit) librgw2-debuginfo = 1.0-0.an23 librgw2-debuginfo(x86-64) = 1.0-0.an23 librgw_op_tp.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) librgw_rados_tp.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-0.an23 Processing files: python3-rgw-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 88c39c88131e9cfc120d9800b594cc23dc92dd9d python-rgw-debuginfo = 1.0-0.an23 python3-rgw-debuginfo = 1.0-0.an23 python3-rgw-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: python3-rados-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = e9d39b82c889d45a82c5505f68911b95d295332a python-rados-debuginfo = 1.0-0.an23 python3-rados-debuginfo = 1.0-0.an23 python3-rados-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: libradosstriper1-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 4dd295f370ba50556ccff20fd7a699e2933de356 libradosstriper.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) libradosstriper1-debuginfo = 1.0-0.an23 libradosstriper1-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: librbd1-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 35131bf3633d9dc4aaddd9d30c564ca492d2326c debuginfo(build-id) = 79adc950536d74576e004c42567b51d066eeb7f7 librbd.so.1.12.0-1.0-0.an23.x86_64.debug()(64bit) librbd1-debuginfo = 1.0-0.an23 librbd1-debuginfo(x86-64) = 1.0-0.an23 librbd_tp.so.1.0.0-1.0-0.an23.x86_64.debug()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-0.an23 Processing files: python3-rbd-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 99d398583fa2295e9420f564eb90e2160e412929 python-rbd-debuginfo = 1.0-0.an23 python3-rbd-debuginfo = 1.0-0.an23 python3-rbd-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: libcephfs2-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 288de4c8f45393a797fc2dc4ff4f8e63b5d74eed libcephfs.so.2.0.0-1.0-0.an23.x86_64.debug()(64bit) libcephfs2-debuginfo = 1.0-0.an23 libcephfs2-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: python3-cephfs-debuginfo-1.0-0.an23.x86_64 Provides: debuginfo(build-id) = 4a50f2f2c642509cfe6b9595189c8742f64126b6 python-cephfs-debuginfo = 1.0-0.an23 python3-cephfs-debuginfo = 1.0-0.an23 python3-cephfs-debuginfo(x86-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(x86-64) = 1.0-0.an23 Processing files: ceph-test-debuginfo-1.0-0.an23.x86_64 Provides: ceph-test-debuginfo = 1.0-0.an23 ceph-test-debuginfo(x86-64) = 1.0-0.an23 debuginfo(build-id) = 0036fcb0b32c43e815b67072ffdf20775ae984db debuginfo(build-id) = 003ba0a6fc3dfcf13033cc7d796c67a778be22ad debuginfo(build-id) = 02aafa0970b5634ac6e5f6083690116230971edb debuginfo(build-id) = 037deecccc9d4f16a3b911ed4da57e35a3f19203 debuginfo(build-id) = 0529c043dc20d51b9c421af272d0c1f61b9616d1 debuginfo(build-id) = 05ece757c7be5716f17fc1eab5ea621646165e8d debuginfo(build-id) = 0830fa1321d53420003be6742d38d33da1ed4547 debuginfo(build-id) = 09e2a63749034cf9554d31d10f674d6e1add5441 debuginfo(build-id) = 0b130af63c30c1be30a2ff7390f3b59db1fe139a debuginfo(build-id) = 11472b310a85b53d9d9ec6b954043e1de005aa30 debuginfo(build-id) = 17a2d56238ebf1006fe57c2aae93c0c152716566 debuginfo(build-id) = 1a112be8a9e674e30fb670591ba3fe36c3f31da1 debuginfo(build-id) = 1ae0a861cb90fc33ffff97b4b73864e58f6b976e debuginfo(build-id) = 1b2d015afe9bdf8cfeef5145377d8c13b95331b8 debuginfo(build-id) = 1effd8f00cafa19014515d9662568de723b2778a debuginfo(build-id) = 2702df9b34988d7ce9f10184d3404334fe56da9f debuginfo(build-id) = 29b3fcd7d77a6632f50722429f74dce5b875d063 debuginfo(build-id) = 29e7d9bd5b28be7c8ac6130ec49d066f08b90796 debuginfo(build-id) = 2ab13d5bc835271a0b181bd175e317b6ef10a762 debuginfo(build-id) = 3064cbe5123e3485ac1a4b179d97c4005d574cbd debuginfo(build-id) = 3171ec85bdb11a8b18fd05f99857f27270ed3329 debuginfo(build-id) = 328434d1e29e8caba0d8762a3f5d73a37a1d5f0e debuginfo(build-id) = 34db392145843ccc888109f8e6ae6f74731e8b7d debuginfo(build-id) = 34f98f38ce889f6cd2f4a4ba419f86df44c3b47d debuginfo(build-id) = 384058dad993c83c486b685e4b88600ff437ac0c debuginfo(build-id) = 3cae8e1ed68d9ba090cce85e9f6050832dfad703 debuginfo(build-id) = 3ec84671776d5581782d10a47a2bb9d0c657e920 debuginfo(build-id) = 45b3f486312c7f50b6dbf125dfc58e833d82a295 debuginfo(build-id) = 548dba4453c0438245beb248d9c021753d12a5d1 debuginfo(build-id) = 5766ab1983a79ae908b64065e2c08cbe3c6c7bed debuginfo(build-id) = 58e4473dbb8acf99aa645eeb9b56e8ceeab3efa9 debuginfo(build-id) = 5bc207f05b3e53d5b7ca64b32690e44409007d0e debuginfo(build-id) = 60fa345033cb38c05adcb39df7d7bfe8c650599a debuginfo(build-id) = 61086753bbb7cfedfe35ec6f57dc20113ee5b277 debuginfo(build-id) = 612e08ec25ec20c37cd54f8d2dc31c58e19e78f4 debuginfo(build-id) = 61334ca119ca14b214c3f213f11614adbde7e79e debuginfo(build-id) = 6275f979636e0fdb7fe42f055ec5329fe7aa5a49 debuginfo(build-id) = 6283e9f59a42d46785972e2e93c007c180aef796 debuginfo(build-id) = 65b5e63c15cc70bea0dca07fc06397b39a72a8bf debuginfo(build-id) = 66a642d2d7002388c1ce88acc75c143cb15918d7 debuginfo(build-id) = 6a02eb725c5d4e9ac8af4e010b58ff919c3d4456 debuginfo(build-id) = 6d1118639aaf2adea82f8f65d579a264e41375bb debuginfo(build-id) = 6e7fd39db65c3cc93d3f7ae1c69f890a190cf7a7 debuginfo(build-id) = 7209637ac158221b29b7b5371488fd6db5e72868 debuginfo(build-id) = 7563b3d938b17af0d9b233e2f929e80c0299c233 debuginfo(build-id) = 7762abe7ebd6c485f410e114cb7255c8326e4d26 debuginfo(build-id) = 7a3e69b43b76a4783181b335b17d4011ffb1326b debuginfo(build-id) = 7a4897b688885f771cffc696f8f508a274cd79e5 debuginfo(build-id) = 7aeec4d2056f987f1df1643e182633d119ad963f debuginfo(build-id) = 7b57647ba606d7a6232e9521c90579558418ec99 debuginfo(build-id) = 7b9927448a815a9af199ed2b822b6ab24e64924b debuginfo(build-id) = 7cd3e965bc5e829efed1c8427fb7423fb15856fa debuginfo(build-id) = 7d1ed3a90737279beb31e07ac0ce114b04f43bfa debuginfo(build-id) = 7d3a119dbf6620d493adea525c480aa4144c70cb debuginfo(build-id) = 7e1e72ec8ba385ffa062dc80d602b4affbac1b33 debuginfo(build-id) = 8057a762fc4fd0a8d5bb80f7986a9210cd74d022 debuginfo(build-id) = 82da981b98793bcaf3600389d4e3a9f7e2db6ec0 debuginfo(build-id) = 8a73d3ee3f299502ba112af61437c501ff4e5911 debuginfo(build-id) = 8fa4a3c65cc57dd0595da90aa2dc880ecde145be debuginfo(build-id) = 909dae53abb56bae20708699cadff743755491fd debuginfo(build-id) = 91d854d980ecf41fa57564a0bf92ff3b2f7092a5 debuginfo(build-id) = 93143025c744fe5ba6ce0d81ffc9a6a89ffbfbbc debuginfo(build-id) = 97b3c41778907c03ae63f277971818bc5677c179 debuginfo(build-id) = 98b6ee5f29a837e80ab2da2529bc90a8f906d3a9 debuginfo(build-id) = 9a5edee9a63cc6284b0b61b0c9401377b22b5fdc debuginfo(build-id) = a26f6e0c3965bd3a5b29557c7d08146f7ce1edf8 debuginfo(build-id) = a534d77c06d4c647b48c286f73f1663374b9bb58 debuginfo(build-id) = a83c0903062f01de086b72f2c7a06ebf188cc1a6 debuginfo(build-id) = aeee60155df9c72153fcec8d191cca2bb6568d1a debuginfo(build-id) = b6844411ec3ae15dbd5244d24760297ccba56622 debuginfo(build-id) = b6e3eb69d57f6b8399168cc5a1fbeca5ef488d0a debuginfo(build-id) = b71dcd1100cf13419188bc6df080071fcae2e568 debuginfo(build-id) = bb3db3b0db5cdda6c1d6d034999b7d7a09ecc4d5 debuginfo(build-id) = c08303bfb93ca919572de0b73a7abf53c2845e02 debuginfo(build-id) = cd649c3815d504b5f9dfb3aa48d81443a841fa6c debuginfo(build-id) = cd66853b172dffa029d255a8fa721c1fa57b4e1f debuginfo(build-id) = ce74e5fc7b4ce2f1f4d14991186d31606a418d6f debuginfo(build-id) = cf2a36d451e96acdfa41a056031412361e5021d7 debuginfo(build-id) = cffc1f4e46d1fdcf1bd7ad48b737bd3bfbd2fdb3 debuginfo(build-id) = d0fbf2dc0a10dd40ec173f28213940d90cfd10e1 debuginfo(build-id) = d4e42c23fe267e510f952ea57a38a77971afd0b7 debuginfo(build-id) = db543a1026ff59ab5651992d2308266a9f106aa6 debuginfo(build-id) = e714442d3b3a10679671c0ca04b8c30c5b826101 debuginfo(build-id) = e96c351ec7ebe3e39a7f2cb0583729859e08e66d debuginfo(build-id) = ece465cca2d190be3648a464163e8232b06ced7b debuginfo(build-id) = ed82a2071f72a447951dd6af0c6f93c44b308d92 debuginfo(build-id) = eda5ddf85bfe6465cc605cbe90fd8ea0be1a7130 debuginfo(build-id) = ef02bcadb7596f88c2c7833ec4ab37520539653d debuginfo(build-id) = f401b84a6c538c337ee1a5e8fcd6b0d2f7f7c767 debuginfo(build-id) = f44b0244c3bfac92fe3edfa2d2d44d4bf930f82b debuginfo(build-id) = f90ff9683dda7159be4ba4858d2f9f4646ebaab2 debuginfo(build-id) = fa55592cd890906cc2e94ad83b25a25c43ebf209 debuginfo(build-id) = fc0a67cad564695acc204936bd5b0ea2c0593df4 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: dsms-storage-debugsource(x86-64) = 1.0-0.an23 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.x86_64 Wrote: /builddir/build/RPMS/dsms-storage-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/librgw-devel-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/libradosstriper-devel-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/rados-objclass-devel-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-prometheus-alerts-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-rook-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-resource-agents-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-k8sevents-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/cephfs-shell-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-rgw-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/libradospp-devel-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-diskprediction-cloud-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/python3-ceph-argparse-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/libcephfs-devel-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-grafana-dashboards-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/dsms-storage-selinux-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/librbd-devel-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/cephadm-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/python3-ceph-common-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-cephadm-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/rbd-fuse-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-cephfs-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/rbd-nbd-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/librados-devel-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-rbd-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-rados-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-immutable-object-cache-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-modules-core-1.0-0.an23.noarch.rpm Wrote: /builddir/build/RPMS/librados-devel-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-rgw-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-cephfs-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/libradosstriper1-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-fuse-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/libcephfs2-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-rados-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/python3-rbd-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/rbd-fuse-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/librbd1-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mds-1.0-0.an23.x86_64.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.x86_64.rpm Wrote: /builddir/build/RPMS/rbd-mirror-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/librgw2-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/librados2-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-immutable-object-cache-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mon-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-base-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/libradosstriper1-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/libcephfs2-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-fuse-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-radosgw-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-osd-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-debugsource-1.0-0.an23.x86_64.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.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mgr-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/ceph-test-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mds-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/librbd1-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/rbd-mirror-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/librados2-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/librgw2-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-mon-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-base-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-radosgw-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-osd-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/dsms-storage-common-debuginfo-1.0-0.an23.x86_64.rpm Wrote: /builddir/build/RPMS/ceph-test-debuginfo-1.0-0.an23.x86_64.rpm RPM build warnings: Macro expanded in comment on line 50: %{version}.tar.gz Child return code was: 0