Mock Version: 3.5 Mock Version: 3.5 Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-storage.spec'], chrootPath='/var/lib/mock/dist-an23-build-276435-64359/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-storage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 50: %{version}.tar.gz Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1686700800 Wrote: /builddir/build/SRPMS/dsms-storage-1.0-0.an23.src.rpm RPM build warnings: Macro expanded in comment on line 50: %{version}.tar.gz Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-storage.spec'], chrootPath='/var/lib/mock/dist-an23-build-276435-64359/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=982gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-storage.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False warning: Macro expanded in comment on line 50: %{version}.tar.gz Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1686700800 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.JbDE3g + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dsms-storage-v1.0 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/dsms-storage-v1.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd dsms-storage-v1.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.w3jlJx + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd dsms-storage-v1.0 + export CPPFLAGS= + CPPFLAGS= + export 'CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + CFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export 'CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + CXXFLAGS='-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' + export LDFLAGS= + LDFLAGS= + CEPH_MFLAGS_JOBS=-j80 ++ echo -j80 ++ sed s/-j// + CEPH_SMP_NCPUS=80 Available memory: + echo 'Available memory:' + free -h total used free shared buff/cache available Mem: 255Gi 5.5Gi 168Gi 48Mi 80Gi 217Gi Swap: 0B 0B 0B + echo 'System limits:' System limits: real-time non-blocking time (microseconds, -R) unlimited core file size (blocks, -c) 0 data seg size (kbytes, -d) unlimited scheduling priority (-e) 0 file size (blocks, -f) unlimited pending signals (-i) 261250 max locked memory (kbytes, -l) 64 max memory size (kbytes, -m) unlimited open files (-n) 1024 pipe size (512 bytes, -p) 8 POSIX message queues (bytes, -q) 819200 real-time priority (-r) 0 stack size (kbytes, -s) 8192 cpu time (seconds, -t) unlimited max user processes (-u) 261250 virtual memory (kbytes, -v) unlimited file locks (-x) unlimited + ulimit -a + test -n 80 -a 80 -gt 1 + mem_per_process=2500 ++ LANG=C ++ free -m ++ sed -n 's|^Mem: *\([0-9]*\).*$|\1|p' + max_mem=261281 + max_jobs=104 + test 80 -gt 104 + test 80 -le 0 + export CEPH_SMP_NCPUS + export CEPH_MFLAGS_JOBS=-j80 + CEPH_MFLAGS_JOBS=-j80 + env + sort eval ${which_declare} ) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot "$@" BASH_FUNC_which%%=() { ( alias; CC=gcc CEPH_MFLAGS_JOBS=-j80 CEPH_SMP_NCPUS=80 CFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection CPPFLAGS= CXX=g++ CXXFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection FCFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules FFLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules HISTCONTROL=ignoredups HISTSIZE=1000 HOME=/builddir HOSTNAME=iZ2ze7dcak6kcy6zqdazjgZ LANG=C LDFLAGS= LOGNAME=mockbuild LT_SYS_LIBRARY_PATH=/usr/lib64: MAIL=/var/spool/mail/mockbuild OLDPWD=/builddir/build/BUILD PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/sbin PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig PROMPT_COMMAND=printf "\033]0;\007" PWD=/builddir/build/BUILD/dsms-storage-v1.0 RPM_ARCH=aarch64 RPM_BUILD_DIR=/builddir/build/BUILD RPM_BUILD_NCPUS=80 RPM_BUILD_ROOT=/builddir/build/BUILDROOT/dsms-storage-1.0-0.an23.aarch64 RPM_DOC_DIR=/usr/share/doc RPM_OPT_FLAGS=-O2 -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection RPM_OS=linux RPM_PACKAGE_NAME=dsms-storage RPM_PACKAGE_RELEASE=0.an23 RPM_PACKAGE_VERSION=1.0 RPM_SOURCE_DIR=/builddir/build/SOURCES SHELL=/bin/bash SHLVL=1 SOURCE_DATE_EPOCH=1686700800 TERM=vt100 USER=mockbuild _=/usr/bin/env which_declare=declare -f } + mkdir build + cd build + CMAKE=cmake + cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR=/usr/lib -DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_INSTALL_SYSCONFDIR=/etc -DCMAKE_INSTALL_MANDIR=/usr/share/man -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/ceph -DCMAKE_INSTALL_INCLUDEDIR=/usr/include -DWITH_MANPAGE=ON -DWITH_PYTHON3=3.10 -DWITH_MGR_DASHBOARD_FRONTEND=OFF -DWITH_SYSTEM_BOOST:BOOL=ON -DENABLE_GIT_VERSION=OFF -DWITH_SELINUX=ON -DWITH_LTTNG=ON -DWITH_BABELTRACE=ON -DWITH_OCF=ON -DWITH_BOOST_CONTEXT=OFF -DWITH_CEPHFS_SHELL=ON -DWITH_LIBRADOSSTRIPER=ON -DWITH_RADOSGW_AMQP_ENDPOINT=ON -DWITH_RADOSGW_KAFKA_ENDPOINT=ON -DBOOST_J=80 -DWITH_GRAFANA=ON -- The CXX compiler identification is GNU 12.2.1 -- The C compiler identification is GNU 12.2.1 -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Looking for fallocate -- Looking for fallocate - found -- Looking for posix_fadvise -- Looking for posix_fadvise - found -- Looking for posix_fallocate -- Looking for posix_fallocate - found -- Looking for syncfs -- Looking for syncfs - found -- Looking for sync_file_range -- Looking for sync_file_range - found -- Looking for pwritev -- Looking for pwritev - found -- Looking for splice -- Looking for splice - found -- Looking for getgrouplist -- Looking for getgrouplist - found -- Looking for fdatasync -- Looking for fdatasync - found -- Looking for strerror_r -- Looking for strerror_r - found -- Looking for name_to_handle_at -- Looking for name_to_handle_at - found -- Looking for pipe2 -- Looking for pipe2 - found -- Looking for accept4 -- Looking for accept4 - found -- Looking for sigdescr_np -- Looking for sigdescr_np - found -- Looking for pthread_spin_init -- Looking for pthread_spin_init - found -- Looking for pthread_set_name_np -- Looking for pthread_set_name_np - not found -- Looking for pthread_get_name_np -- Looking for pthread_get_name_np - not found -- Looking for pthread_setname_np -- Looking for pthread_setname_np - found -- Looking for pthread_getname_np -- Looking for pthread_getname_np - found -- Looking for pthread_rwlockattr_setkind_np -- Looking for pthread_rwlockattr_setkind_np - found -- Looking for eventfd -- Looking for eventfd - found -- Looking for getprogname -- Looking for getprogname - not found -- Looking for gettid -- Looking for gettid - found -- Looking for include file linux/types.h -- Looking for include file linux/types.h - found -- Looking for include file linux/version.h -- Looking for include file linux/version.h - found -- Looking for include file arpa/nameser_compat.h -- Looking for include file arpa/nameser_compat.h - found -- Looking for include file sys/mount.h -- Looking for include file sys/mount.h - found -- Looking for include file sys/param.h -- Looking for include file sys/param.h - found -- Looking for include file sys/types.h -- Looking for include file sys/types.h - found -- Looking for include file sys/vfs.h -- Looking for include file sys/vfs.h - found -- Looking for include file sys/prctl.h -- Looking for include file sys/prctl.h - found -- Looking for include file execinfo.h -- Looking for include file execinfo.h - found -- Looking for include file sched.h -- Looking for include file sched.h - found -- Looking for include file valgrind/helgrind.h -- Looking for include file valgrind/helgrind.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of __u8 -- Check size of __u8 - done -- Check size of __u16 -- Check size of __u16 - done -- Check size of __u32 -- Check size of __u32 - done -- Check size of __u64 -- Check size of __u64 - done -- Check size of __s8 -- Check size of __s8 - done -- Check size of __s16 -- Check size of __s16 - done -- Check size of __s32 -- Check size of __s32 - done -- Check size of __s64 -- Check size of __s64 - done -- Looking for _POSIX_TIMERS -- Looking for _POSIX_TIMERS - found -- Looking for res_nquery -- Looking for res_nquery - found -- Looking for F_SETPIPE_SZ -- Looking for F_SETPIPE_SZ - found -- Looking for __func__ -- Looking for __func__ - found -- Looking for __PRETTY_FUNCTION__ -- Looking for __PRETTY_FUNCTION__ - found -- Looking for getentropy -- Looking for getentropy - found -- Performing Test STRERROR_R_CHAR_P -- Performing Test STRERROR_R_CHAR_P - Success -- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC -- Performing Test HAVE_STAT_ST_MTIM_TV_NSEC - Success -- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC -- Performing Test HAVE_STAT_ST_MTIMESPEC_TV_NSEC - Failed -- Performing Test HAVE_UNALIGNED_ACCESS -- Performing Test HAVE_UNALIGNED_ACCESS - Success -- Performing Test HAVE_CXX11_ATOMIC -- Performing Test HAVE_CXX11_ATOMIC - Success -- Found verbs: /usr/lib64/libibverbs.so -- Performing Test HAVE_IBV_EXP -- Performing Test HAVE_IBV_EXP - Failed -- Found rdmacm: /usr/lib64/librdmacm.so -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- Found udev: /usr/lib64/libudev.so -- Found blkid: /usr/lib64/libblkid.so -- Found keyutils: /usr/lib64/libkeyutils.so -- Found OpenLdap: /usr/include -- Found FUSE: /usr/lib64/libfuse3.so (found version "3.14") -- Found xfs: /usr/lib64/libhandle.so -- Found aio: /lib64/libaio.so CMake Warning (dev) at /usr/share/cmake/Modules/CMakeDependentOption.cmake:89 (message): Policy CMP0127 is not set: cmake_dependent_option() supports full Condition Syntax. Run "cmake --help-policy CMP0127" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): CMakeLists.txt:208 (CMAKE_DEPENDENT_OPTION) This warning is for project developers. Use -Wno-dev to suppress it. -- Found leveldb: /lib64/libleveldb.so -- Found snappy: /usr/lib64/libsnappy.so -- Found LZ4: /usr/lib64/liblz4.so (found suitable version "1.9.4", minimum required is "1.7") -- Found gperftools: /usr/include (found version "2.10") -- Found CURL: /usr/lib64/libcurl.so (found version "8.1.1") -- Looking for curl_multi_wait -- Looking for curl_multi_wait - found -- Found OpenSSL: /usr/lib64/libcrypto.so (found version "3.0.9") -- Found EXPAT: /usr/lib64/libexpat.so (found version "2.5.0") CMake Warning at CMakeLists.txt:366 (message): disabling WITH_RADOSGW_BEAST_FRONTEND, which depends on WITH_BOOST_CONTEXT -- Found OATH: /usr/lib64/liboath.so '--build=aarch64-Anolis-linux' '--host=aarch64-Anolis-linux' '--program-prefix=' '--disable-dependency-tracking' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib64' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/var/lib' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--disable-static' '--enable-hsts' '--enable-ipv6' '--enable-symbol-hiding' '--enable-threaded-resolver' '--without-zstd' '--with-gssapi' '--with-nghttp2' '--with-ssl' '--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt' '--enable-dict' '--enable-gopher' '--enable-imap' '--enable-ldap' '--enable-ldaps' '--enable-manual' '--enable-mqtt' '--enable-ntlm' '--enable-ntlm-wb' '--enable-pop3' '--enable-rtsp' '--enable-smb' '--enable-smtp' '--enable-telnet' '--enable-tftp' '--enable-tls-srp' '--with-brotli' '--with-libidn2' '--with-libpsl' '--with-libssh' 'build_alias=aarch64-Anolis-linux' 'host_alias=aarch64-Anolis-linux' 'CC=gcc' 'CFLAGS=-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/anolis/anolis-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection' 'LDFLAGS=-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/anolis/anolis-hardened-ld -specs=/usr/lib/rpm/anolis/anolis-annobin-cc1 -Wl,--build-id=sha1 ' 'LT_SYS_LIBRARY_PATH=/usr/lib64:' -- libcurl is linked with openssl: explicitly setting locks -- ssl soname: libssl.so.3 -- crypto soname: libcrypto.so.3 -- Found Python3: /usr/bin/python3.10 (found suitable exact version "3.10.12") found components: Interpreter Development -- mgr module disabled for 3.10.12: diskprediction_local -- Found ZLIB: /usr/lib64/libz.so (found version "1.2.13") -- Found LTTngUST: /usr/lib64/liblttng-ust.so;dl (found version "2.3.5") -- Found babeltrace: /usr/include CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:1161 (message): New Boost version may have incorrect or missing dependencies and imported targets Call Stack (most recent call first): cmake/modules/FindBoost.cmake:1283 (_Boost_COMPONENT_DEPENDENCIES) cmake/modules/FindBoost.cmake:1927 (_Boost_MISSING_DEPENDENCIES) CMakeLists.txt:590 (find_package) CMake Warning at cmake/modules/FindBoost.cmake:2026 (message): No header defined for python310; skipping header check (note: header-only libraries have no designated component) Call Stack (most recent call first): CMakeLists.txt:590 (find_package) -- Found Boost: /usr/include (found suitable version "1.81.0", minimum required is "1.67") found components: atomic chrono thread system regex random program_options date_time iostreams python310 -- Found StdFilesystem: stdc++fs -- Performing Test COMPILER_SUPPORTS_PESSIMIZING_MOVE -- Performing Test COMPILER_SUPPORTS_PESSIMIZING_MOVE - Success -- Performing Test COMPILER_SUPPORTS_REDUNDANT_MOVE -- Performing Test COMPILER_SUPPORTS_REDUNDANT_MOVE - Success -- Performing Test HAS_FORTIFY_SOURCE -- Performing Test HAS_FORTIFY_SOURCE - Success -- Performing Test HAS_STACK_PROTECT -- Performing Test HAS_STACK_PROTECT - Success -- Performing Test HAS_GLIBCXX_ASSERTIONS -- Performing Test HAS_GLIBCXX_ASSERTIONS - Success -- Performing Test HAVE_ARMV8_CRC_CRYPTO_INTRINSICS -- Performing Test HAVE_ARMV8_CRC_CRYPTO_INTRINSICS - Success -- Performing Test HAVE_ARMV8_SIMD -- Performing Test HAVE_ARMV8_SIMD - Success -- Performing Test HAVE_STDLIB_MAP_SPLICING -- Performing Test HAVE_STDLIB_MAP_SPLICING - Success -- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR -- Performing Test COMPILER_SUPPORTS_DIAGNOSTICS_COLOR - Success -- Could not find fmt, will build it -- Version: 5.3.1 -- Build type: RelWithDebInfo -- CXX_STANDARD: 17 -- Performing Test has_std_17_flag -- Performing Test has_std_17_flag - Success -- Performing Test has_std_1z_flag -- Performing Test has_std_1z_flag - Success -- Performing Test SUPPORTS_VARIADIC_TEMPLATES -- Performing Test SUPPORTS_VARIADIC_TEMPLATES - Success -- Performing Test SUPPORTS_INITIALIZER_LIST -- Performing Test SUPPORTS_INITIALIZER_LIST - Success -- Performing Test SUPPORTS_ENUM_BASE -- Performing Test SUPPORTS_ENUM_BASE - Success -- Performing Test SUPPORTS_TYPE_TRAITS -- Performing Test SUPPORTS_TYPE_TRAITS - Success -- Performing Test SUPPORTS_USER_DEFINED_LITERALS -- Performing Test SUPPORTS_USER_DEFINED_LITERALS - Success -- Looking for open -- Looking for open - found -- Performing Test HAS_VTA -- Performing Test HAS_VTA - Success CMake Deprecation Warning at src/lua/CMakeLists.txt:8 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found Cython: 0.29 -- Performing Test HAS_WARNING_STRINGOP_TRUNCATION -- Performing Test HAS_WARNING_STRINGOP_TRUNCATION - Success -- Performing Test HAS_WARNING_DEPRECATED_COPY -- Performing Test HAS_WARNING_DEPRECATED_COPY - Success -- Performing Test HAS_WARNING_PESSIMIZING_MOVE -- Performing Test HAS_WARNING_PESSIMIZING_MOVE - Success CMake Deprecation Warning at src/googletest/CMakeLists.txt:4 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at src/googletest/googlemock/CMakeLists.txt:45 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at src/googletest/googletest/CMakeLists.txt:56 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Found PythonInterp: /usr/bin/python3.10 (found version "3.10.12") -- Looking for wsyncup in /usr/lib64/libcurses.so -- Looking for wsyncup in /usr/lib64/libcurses.so - found -- Looking for cbreak in /usr/lib64/libncurses.so -- Looking for cbreak in /usr/lib64/libncurses.so - found -- Looking for nodelay in /usr/lib64/libncurses.so -- Looking for nodelay in /usr/lib64/libncurses.so - found -- Found Curses: /usr/lib64/libncurses.so -- Found nl: /usr/lib64/libnl-3.so -- Checking for module 'libcap-ng' -- Found libcap-ng, version 0.8.3 -- Setting civetweb to use OPENSSL >= 1.1 -- Found RabbitMQ: /usr/include -- Checking for one of the modules 'rdkafka' -- Found RDKafka: /usr/include (found suitable version "2.0.2", minimum required is "0.9.2") -- exclude following files under src: *.js;*.css -- Configuring done (13.6s) CMake Warning (dev) at src/rgw/CMakeLists.txt:163 (add_library): Policy CMP0115 is not set: Source file extensions must be explicit. Run "cmake --help-policy CMP0115" for policy details. Use the cmake_policy command to set the policy and suppress this warning. File: /builddir/build/BUILD/dsms-storage-v1.0/src/rgw/rgw_oidc_provider.cc This warning is for project developers. Use -Wno-dev to suppress it. -- Generating done (1.4s) CMake Warning: Manually-specified variables were not used by the project: BOOST_J -- Build files have been written to: /builddir/build/BUILD/dsms-storage-v1.0/build + make -j80 [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/objectstore.h [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/rgw_rados.h [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/librados.h [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/pg.h [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/bluestore.h [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/oprequest.h [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/osd.h [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/rgw_op.h [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/oprequest.h [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/librbd.h [ 0%] Building C object src/common/CMakeFiles/common_utf8.dir/utf8.c.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthClientHandler.cc.o [ 0%] Building CXX object src/arch/CMakeFiles/arch.dir/probe.cc.o [ 0%] Building CXX object src/fmt/CMakeFiles/fmt.dir/src/format.cc.o [ 0%] Building CXX object src/common/CMakeFiles/common_texttable_obj.dir/TextTable.cc.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/KeyRing.cc.o [ 0%] Building CXX object src/compressor/CMakeFiles/compressor_objs.dir/Compressor.cc.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthSessionHandler.cc.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/Crypto.cc.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthRegistry.cc.o [ 0%] Building CXX object src/fmt/CMakeFiles/fmt.dir/src/posix.cc.o [ 0%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/armor.c.o [ 0%] Building CXX object src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o [ 0%] Building C object src/crush/CMakeFiles/crush_objs.dir/builder.c.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/AuthMethodList.cc.o [ 0%] Building C object src/crush/CMakeFiles/crush_objs.dir/mapper.c.o [ 0%] Building CXX object src/common/CMakeFiles/common_buffer_obj.dir/buffer.cc.o [ 0%] Building C object src/arch/CMakeFiles/arch.dir/arm.c.o [ 0%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/safe_io.c.o [ 0%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_client.cc.o [ 0%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/librados.h [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxClientHandler.cc.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxAuthorizeHandler.cc.o [ 0%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/cauchy.c.o [ 0%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/RotatingKeyRing.cc.o [ 0%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/module.c.o [ 0%] Building CXX object src/erasure-code/CMakeFiles/erasure_code.dir/ErasureCodePlugin.cc.o [ 0%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Filer.cc.o [ 0%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/DispatchQueue.cc.o [ 0%] Building CXX object src/erasure-code/CMakeFiles/erasure_code_objs.dir/ErasureCode.cc.o [ 0%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/__/ErasureCode.cc.o [ 0%] Creating directories for 'rocksdb_ext' [ 0%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_cpu.c.o [ 0%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodePluginJerasure.cc.o [ 0%] Building CXX object src/common/CMakeFiles/common_prioritycache_obj.dir/PriorityCache.cc.o [ 1%] Building CXX object src/perfglue/CMakeFiles/heap_profiler.dir/heap_profiler.cc.o [ 1%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/global_init.cc.o [ 1%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/bluestore.h [ 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/common/CMakeFiles/common-common-objs.dir/AsyncOpTracker.cc.o [ 1%] Building CXX object src/compressor/lz4/CMakeFiles/ceph_lz4.dir/CompressionPluginLZ4.cc.o [ 1%] Creating directories for 'zstd_ext' [ 1%] Building CXX object src/compressor/snappy/CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o [ 1%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/objectstore.h [ 2%] Building CXX object src/dmclock/src/CMakeFiles/dmclock.dir/dmclock_util.cc.o [ 2%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/pg.h [ 2%] Building CXX object src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd.cc.o [ 2%] Building CXX object src/cls/CMakeFiles/cls_numops.dir/numops/cls_numops.cc.o [ 2%] generating /builddir/build/BUILD/dsms-storage-v1.0/build/include/tracing/osd.h [ 3%] Building C object src/CMakeFiles/civetweb_common_objs.dir/civetweb/src/civetweb.c.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_timeindex.dir/timeindex/cls_timeindex.cc.o [ 3%] Building CXX object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/CompressionPluginZlib.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_numops_client.dir/numops/cls_numops_client.cc.o [ 4%] Building CXX object src/perfglue/CMakeFiles/cpu_profiler.dir/disabled_stubs.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_version.dir/version/cls_version.cc.o [ 3%] Building C object src/common/CMakeFiles/parse_secret_objs.dir/secret.c.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_log.dir/log/cls_log.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_otp.dir/otp/cls_otp.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_cas.dir/cas/cls_cas.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_lock.dir/lock/cls_lock.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue.cc.o [ 3%] Building C object src/lua/CMakeFiles/liblua.dir/src/lapi.c.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_user.dir/user/cls_user.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_hello.dir/hello/cls_hello.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_cephfs.dir/cephfs/cls_cephfs.cc.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/rgw_gc/cls_rgw_gc.cc.o [ 3%] Building CXX object src/cls/CMakeFiles/cls_sdk.dir/sdk/cls_sdk.cc.o [ 4%] No download step for 'rocksdb_ext' [ 4%] No download step for 'zstd_ext' [ 4%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_types.cc.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd_types.cc.o [ 4%] Building CXX object src/cls/CMakeFiles/cls_lock_client.dir/lock/cls_lock_ops.cc.o [ 4%] Linking CXX static library ../../lib/libarch.a [ 5%] No update step for 'zstd_ext' /builddir/build/BUILD/dsms-storage-v1.0/src/common/secret.c: In function 'set_kernel_secret': /builddir/build/BUILD/dsms-storage-v1.0/src/common/secret.c:65:9: warning: '' may be used uninitialized [-Wmaybe-uninitialized] 65 | ret = ceph_unarmor(payload, payload+sizeof(payload), secret, secret+secret_len); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/secret.c:23: /builddir/build/BUILD/dsms-storage-v1.0/src/common/armor.h:14:5: note: by argument 2 of type 'const char *' to 'ceph_unarmor' declared here 14 | int ceph_unarmor(char *dst, const char *dst_end, | ^~~~~~~~~~~~ [ 5%] Built target objectstore-tp [ 5%] Built target pg-tp [ 5%] Building C object src/tracing/CMakeFiles/osd_tp.dir/oprequest.c.o [ 5%] Building C object src/tracing/CMakeFiles/os_tp.dir/objectstore.c.o [ 5%] Building C object src/tracing/CMakeFiles/bluestore_tp.dir/bluestore.c.o [ 5%] No update step for 'rocksdb_ext' [ 5%] Building C object src/tracing/CMakeFiles/rgw_rados_tp.dir/rgw_rados.c.o [ 5%] Built target osd-tp [ 5%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o [ 5%] Built target oprequest-tp [ 5%] Building C object src/tracing/CMakeFiles/rgw_op_tp.dir/rgw_op.c.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_wgen.c.o [ 5%] Built target bluestore-tp [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w32.c.o [ 5%] Built target arch [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf.c.o [ 5%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w16.c.o [ 5%] Linking C static library ../../lib/libcommon_utf8.a [ 5%] Built target librados-tp [ 5%] Building C object src/tracing/CMakeFiles/rados_tp.dir/librados.c.o [ 6%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Messenger.cc.o [ 6%] Built target parse_secret_objs [ 6%] No patch step for 'zstd_ext' [ 6%] Building C object src/tracing/CMakeFiles/osd_tp.dir/osd.c.o [ 6%] Building C object src/tracing/CMakeFiles/rbd_tp.dir/librbd.c.o [ 6%] Building C object src/tracing/CMakeFiles/osd_tp.dir/pg.c.o [ 6%] Building CXX object src/crypto/openssl/CMakeFiles/ceph_crypto_openssl.dir/openssl_crypto_plugin.cc.o [ 6%] Building CXX object src/compressor/zlib/CMakeFiles/ceph_zlib.dir/ZlibCompressor.cc.o [ 6%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/QueueStrategy.cc.o [ 6%] No patch step for 'rocksdb_ext' [ 6%] Performing configure step for 'zstd_ext' CMake Deprecation Warning at CMakeLists.txt:10 (cmake_minimum_required): Compatibility with CMake < 2.8.12 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. [ 6%] Building C object src/common/CMakeFiles/common_mountcephfs_objs.dir/addr_parsing.c.o [ 6%] Built target common_utf8 /builddir/build/BUILD/dsms-storage-v1.0/src/civetweb/src/civetweb.c: In function 'mg_get_system_info_impl': /builddir/build/BUILD/dsms-storage-v1.0/src/civetweb/src/civetweb.c:17261:32: warning: '-Werror' is not an option that controls warnings [-Wpragmas] 17261 | #pragma GCC diagnostic ignored "-Werror" | ^~~~~~~~~ [ 6%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/Connection.cc.o [ 6%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/galois.c.o [ 6%] Performing configure step for 'rocksdb_ext' /builddir/build/BUILD/dsms-storage-v1.0/src/common/addr_parsing.c: In function 'safe_cat': /builddir/build/BUILD/dsms-storage-v1.0/src/common/addr_parsing.c:45:3: warning: '__builtin_strncpy' output truncated before terminating nul copying as many bytes from a string as its length [-Wstringop-truncation] 45 | strncpy((*pstr)+pos, str2, len2); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/common/addr_parsing.c:28:14: note: length computed here 28 | int len2 = strlen(str2); | ^~~~~~~~~~~~ Compiling targeted ceph module -- The C compiler identification is GNU 12.2.1 [ 6%] Built target common_mountcephfs_objs -- The C compiler identification is GNU 12.2.1 [ 6%] Building CXX object src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_client.cc.o [ 6%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/msg_types.cc.o [ 6%] Linking C shared library ../../lib/librgw_op_tp.so [ 6%] Building C object src/crush/CMakeFiles/crush_objs.dir/crush.c.o [ 6%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncConnection.cc.o [ 6%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/jerasure.c.o -- The CXX compiler identification is GNU 12.2.1 -- Detecting C compiler ABI info [ 7%] Linking C shared library ../../lib/librgw_rados_tp.so Creating targeted ceph.pp policy package In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/objclass.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/sdk/cls_sdk.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:97:52: error: expected template-name before '<' token 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:97:52: error: expected '{' before '<' token [ 7%] Built target ceph.pp [ 7%] Built target rgw_op_tp -- The CXX compiler identification is GNU 12.2.1 /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:397:17: error: 'unique_ptr' in namespace 'std' does not name a template type 397 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:64:1: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 63 | #include "inline_memory.h" +++ |+#include 64 | /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:401:17: error: 'unique_ptr' in namespace 'std' does not name a template type 401 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:401:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 401 | static std::unique_ptr | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:406:17: error: 'unique_ptr' in namespace 'std' does not name a template type 406 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:406:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 406 | static std::unique_ptr | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:428:17: error: 'unique_ptr' in namespace 'std' does not name a template type 428 | static std::unique_ptr create_hypercombined( | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:428:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 428 | static std::unique_ptr create_hypercombined( | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1058:20: error: 'std::unique_ptr' has not been declared 1058 | void push_back(std::unique_ptr bp) { | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1058:35: error: expected ',' or '...' before '<' token 1058 | void push_back(std::unique_ptr bp) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1079:18: error: 'std::unique_ptr' has not been declared 1079 | void rebuild(std::unique_ptr nb); | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1079:33: error: expected ',' or '...' before '<' token 1079 | void rebuild(std::unique_ptr nb); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::page_aligned_appender::append(const char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:903:41: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 903 | buffer = create_page_aligned(alloc); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(const ceph::buffer::v15_2_0::ptr&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1043:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1043 | _buffers.push_back(*ptr_node::create(bp).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(ceph::buffer::v15_2_0::ptr&&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1052:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1052 | _buffers.push_back(*ptr_node::create(std::move(bp)).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(int)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1059:11: error: 'bp' was not declared in this scope 1059 | if (bp->length() == 0) | ^~ [ 7%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncMessenger.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1061:19: error: 'bp' was not declared in this scope 1061 | _carriage = bp.get(); | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1067:51: error: 'r' has incomplete type 1067 | void push_back(ceph::unique_leakable_ptr r) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(ceph::unique_leakable_ptr)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1068:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1068 | _buffers.push_back(*ptr_node::create(std::move(r)).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::share(const ceph::buffer::v15_2_0::list&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1101:41: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1101 | _buffers.push_back(*ptr_node::create(bp).release()); | ^~~~~~ -- Detecting C compiler ABI info [ 7%] Building CXX object src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_client.cc.o [ 7%] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_client.cc.o [ 7%] Built target rgw_rados_tp [ 7%] Linking C shared library ../../lib/libbluestore_tp.so make[2]: *** [src/cls/CMakeFiles/cls_sdk.dir/build.make:76: src/cls/CMakeFiles/cls_sdk.dir/sdk/cls_sdk.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:4952: src/cls/CMakeFiles/cls_sdk.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... [ 7%] Building CXX object src/cls/CMakeFiles/cls_refcount_client.dir/refcount/cls_refcount_ops.cc.o -- Detecting C compiler ABI info - done [ 7%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/liberation.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 -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done [ 7%] Building C object src/crush/CMakeFiles/crush_objs.dir/hash.c.o -- Detecting CXX compiler ABI info [ 7%] Built target bluestore_tp [ 7%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushWrapper.cc.o [ 7%] Building C object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure/src/reed_sol.c.o [ 7%] Building CXX object src/cls/CMakeFiles/cls_otp_client.dir/otp/cls_otp_types.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/fmt/include/fmt/format-inl.h:11, from /builddir/build/BUILD/dsms-storage-v1.0/src/fmt/src/format.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/fmt/include/fmt/format.h: In instantiation of 'constexpr bool fmt::v5::internal::find(Ptr, Ptr, T, Ptr&) [with bool IS_CONSTEXPR = false; T = char; Ptr = const wchar_t*]': /builddir/build/BUILD/dsms-storage-v1.0/src/fmt/include/fmt/format.h:2091:32: required from 'constexpr void fmt::v5::internal::parse_format_string(fmt::v5::basic_string_view, Handler&&)::writer::operator()(const Char*, const Char*) [with bool IS_CONSTEXPR = false; Char = wchar_t; Handler = fmt::v5::format_handler > >, wchar_t, fmt::v5::basic_format_context >, wchar_t> >&]' /builddir/build/BUILD/dsms-storage-v1.0/src/fmt/include/fmt/format.h:2101:3: required from 'constexpr void fmt::v5::internal::parse_format_string(fmt::v5::basic_string_view, Handler&&) [with bool IS_CONSTEXPR = false; Char = wchar_t; Handler = fmt::v5::format_handler > >, wchar_t, fmt::v5::basic_format_context >, wchar_t> >&]' /builddir/build/BUILD/dsms-storage-v1.0/src/fmt/include/fmt/format.h:3226:39: required from 'typename Context::iterator fmt::v5::vformat_to(typename ArgFormatter::range, basic_string_view, basic_format_args, internal::locale_ref) [with ArgFormatter = arg_formatter > >; Char = wchar_t; Context = basic_format_context >, wchar_t>; typename Context::iterator = std::back_insert_iterator >; typename ArgFormatter::range = back_insert_range >]' /builddir/build/BUILD/dsms-storage-v1.0/src/fmt/include/fmt/format.h:3329:42: required from 'typename fmt::v5::buffer_context::type::iterator fmt::v5::internal::vformat_to(basic_buffer&, fmt::v5::basic_string_view, fmt::v5::basic_format_args::type>) [with Char = wchar_t; typename fmt::v5::buffer_context::type::iterator = std::back_insert_iterator >; typename fmt::v5::buffer_context::type = fmt::v5::basic_format_context >, wchar_t>; typename fmt::v5::buffer_context::type = fmt::v5::basic_format_context >, wchar_t>]' /builddir/build/BUILD/dsms-storage-v1.0/src/fmt/include/fmt/format-inl.h:915:23: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/fmt/include/fmt/format.h:2058:14: warning: comparison of integer expressions of different signedness: 'const wchar_t' and 'char' [-Wsign-compare] 2058 | if (*out == value) return true; | ~~~~~^~~~~~~~ [ 7%] Building CXX object src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal_types.cc.o [ 7%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushCompiler.cc.o -- Detecting CXX compiler ABI info - done [ 7%] Building C object src/lua/CMakeFiles/liblua.dir/src/lcode.c.o [ 7%] Building CXX object src/dmclock/src/CMakeFiles/dmclock.dir/__/support/src/run_every.cc.o -- 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 [ 7%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Protocol.cc.o -- Detecting CXX compiler ABI info - done [ 7%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV1.cc.o -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- The ASM compiler identification is GNU -- Found assembler: /usr/bin/gcc -- Configuring incomplete, errors occurred! CMake Error at CMakeLists.txt:88 (find_package): By not providing "Findsnappy.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "snappy", but CMake did not find one. Could not find a package configuration file provided by "snappy" with any of the following names: snappyConfig.cmake snappy-config.cmake Add the installation prefix of "snappy" to CMAKE_PREFIX_PATH or set "snappy_DIR" to a directory containing one of the above files. If "snappy" provides a separate development package or SDK, be sure it has been installed. make[2]: *** [src/CMakeFiles/rocksdb_ext.dir/build.make:91: src/rocksdb_ext-prefix/src/rocksdb_ext-stamp/rocksdb_ext-configure] Error 1 make[1]: *** [CMakeFiles/Makefile2:3603: src/CMakeFiles/rocksdb_ext.dir/all] Error 2 [ 7%] Built target common_texttable_obj [ 8%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w64.c.o [ 8%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/ProtocolV2.cc.o [ 8%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodePluginShec.cc.o [ 8%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShec.cc.o -- Performing Test CXX_FLAG_STD_CPLUSPLUS11 - Success -- Performing Test C_FLAG_STD_C99 [ 8%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_objs.dir/jerasure_init.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/numops/cls_numops_client.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/numops/cls_numops_client.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/numops/cls_numops_client.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -- Performing Test C_FLAG_STD_C99 - Success -- Performing Test C_FLAG_WALL [ 8%] Linking CXX static library ../../lib/liberasure_code.a [ 8%] Built target erasure_code [ 8%] Building CXX object src/erasure-code/shec/CMakeFiles/shec_utils.dir/ErasureCodeShecTableCache.cc.o -- Performing Test C_FLAG_WALL - Success -- Performing Test CXX_FLAG_WALL [ 8%] Building C object src/lua/CMakeFiles/liblua.dir/src/lctype.c.o [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldebug.c.o [ 9%] Linking CXX static library ../../../lib/libdmclock.a [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w128.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:52: error: expected template-name before '<' token 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:52: error: expected '{' before '<' token /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:397:17: error: 'unique_ptr' in namespace 'std' does not name a template type 397 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:64:1: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 63 | #include "inline_memory.h" +++ |+#include 64 | /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:401:17: error: 'unique_ptr' in namespace 'std' does not name a template type 401 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:401:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 401 | static std::unique_ptr | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:406:17: error: 'unique_ptr' in namespace 'std' does not name a template type 406 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:406:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 406 | static std::unique_ptr | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:428:17: error: 'unique_ptr' in namespace 'std' does not name a template type 428 | static std::unique_ptr create_hypercombined( | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:428:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 428 | static std::unique_ptr create_hypercombined( | ^~~ -- Performing Test CXX_FLAG_WALL - Success -- Performing Test C_FLAG_WEXTRA [ 9%] Built target dmclock [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_general.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1058:20: error: 'std::unique_ptr' has not been declared 1058 | void push_back(std::unique_ptr bp) { | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1058:35: error: expected ',' or '...' before '<' token 1058 | void push_back(std::unique_ptr bp) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1079:18: error: 'std::unique_ptr' has not been declared 1079 | void rebuild(std::unique_ptr nb); | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1079:33: error: expected ',' or '...' before '<' token 1079 | void rebuild(std::unique_ptr nb); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::page_aligned_appender::append(const char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:903:41: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 903 | buffer = create_page_aligned(alloc); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(const ceph::buffer::v15_2_0::ptr&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1043:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1043 | _buffers.push_back(*ptr_node::create(bp).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(ceph::buffer::v15_2_0::ptr&&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1052:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1052 | _buffers.push_back(*ptr_node::create(std::move(bp)).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(int)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1059:11: error: 'bp' was not declared in this scope 1059 | if (bp->length() == 0) | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1061:19: error: 'bp' was not declared in this scope 1061 | _carriage = bp.get(); | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1067:51: error: 'r' has incomplete type 1067 | void push_back(ceph::unique_leakable_ptr r) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(ceph::unique_leakable_ptr)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1068:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1068 | _buffers.push_back(*ptr_node::create(std::move(r)).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::share(const ceph::buffer::v15_2_0::list&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1101:41: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1101 | _buffers.push_back(*ptr_node::create(bp).release()); | ^~~~~~ [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldo.c.o [ 9%] Linking CXX static library ../../lib/libcls_numops_client.a -- Performing Test C_FLAG_WEXTRA - Success -- Performing Test CXX_FLAG_WEXTRA [ 9%] Built target cls_numops_client [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldump.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/journal/cls_journal.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:52: error: expected template-name before '<' token 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:52: error: expected '{' before '<' token /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:397:17: error: 'unique_ptr' in namespace 'std' does not name a template type 397 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:64:1: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 63 | #include "inline_memory.h" +++ |+#include 64 | /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:401:17: error: 'unique_ptr' in namespace 'std' does not name a template type 401 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:401:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 401 | static std::unique_ptr | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:406:17: error: 'unique_ptr' in namespace 'std' does not name a template type 406 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:406:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 406 | static std::unique_ptr | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:428:17: error: 'unique_ptr' in namespace 'std' does not name a template type 428 | static std::unique_ptr create_hypercombined( | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:428:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 428 | static std::unique_ptr create_hypercombined( | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1058:20: error: 'std::unique_ptr' has not been declared 1058 | void push_back(std::unique_ptr bp) { | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1058:35: error: expected ',' or '...' before '<' token 1058 | void push_back(std::unique_ptr bp) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1079:18: error: 'std::unique_ptr' has not been declared 1079 | void rebuild(std::unique_ptr nb); | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1079:33: error: expected ',' or '...' before '<' token 1079 | void rebuild(std::unique_ptr nb); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::page_aligned_appender::append(const char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:903:41: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 903 | buffer = create_page_aligned(alloc); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(const ceph::buffer::v15_2_0::ptr&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1043:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1043 | _buffers.push_back(*ptr_node::create(bp).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(ceph::buffer::v15_2_0::ptr&&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1052:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1052 | _buffers.push_back(*ptr_node::create(std::move(bp)).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(int)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1059:11: error: 'bp' was not declared in this scope 1059 | if (bp->length() == 0) | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1061:19: error: 'bp' was not declared in this scope 1061 | _carriage = bp.get(); | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1067:51: error: 'r' has incomplete type 1067 | void push_back(ceph::unique_leakable_ptr r) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(ceph::unique_leakable_ptr)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1068:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1068 | _buffers.push_back(*ptr_node::create(std::move(r)).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::share(const ceph::buffer::v15_2_0::list&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1101:41: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1101 | _buffers.push_back(*ptr_node::create(bp).release()); | ^~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In static member function 'static void denc_traits::decode(ceph::buffer::v15_2_0::ptr&, ceph::buffer::v15_2_0::list::const_iterator&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:821:31: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 821 | v = ceph::buffer::copy(s.c_str(), s.length()); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ [ 9%] Linking C shared library ../../lib/libos_tp.so [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w4.c.o [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_rand.c.o [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lfunc.c.o -- Performing Test CXX_FLAG_WEXTRA - Success -- Performing Test C_FLAG_WUNDEF [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Event.cc.o [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lgc.c.o [ 9%] Built target os_tp [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/gf_w8.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h: In function 'void ceph::decode(buffer::v15_2_0::ptr&, buffer::v15_2_0::list::const_iterator&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:273:24: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 273 | bp = buffer::copy(s.c_str(), s.length()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/rados_types.hpp:10, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:97:52: error: expected template-name before '<' token 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:97:52: error: expected '{' before '<' token /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:397:17: error: 'unique_ptr' in namespace 'std' does not name a template type 397 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:64:1: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 63 | #include "inline_memory.h" +++ |+#include 64 | /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:401:17: error: 'unique_ptr' in namespace 'std' does not name a template type 401 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:401:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 401 | static std::unique_ptr | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:406:17: error: 'unique_ptr' in namespace 'std' does not name a template type 406 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:406:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 406 | static std::unique_ptr | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:428:17: error: 'unique_ptr' in namespace 'std' does not name a template type 428 | static std::unique_ptr create_hypercombined( | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:428:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 428 | static std::unique_ptr create_hypercombined( | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1058:20: error: 'std::unique_ptr' has not been declared 1058 | void push_back(std::unique_ptr bp) { | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1058:35: error: expected ',' or '...' before '<' token 1058 | void push_back(std::unique_ptr bp) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1079:18: error: 'std::unique_ptr' has not been declared 1079 | void rebuild(std::unique_ptr nb); | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1079:33: error: expected ',' or '...' before '<' token 1079 | void rebuild(std::unique_ptr nb); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::page_aligned_appender::append(const char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:903:41: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 903 | buffer = create_page_aligned(alloc); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(const ceph::buffer::v15_2_0::ptr&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1043:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1043 | _buffers.push_back(*ptr_node::create(bp).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(ceph::buffer::v15_2_0::ptr&&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1052:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1052 | _buffers.push_back(*ptr_node::create(std::move(bp)).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(int)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1059:11: error: 'bp' was not declared in this scope 1059 | if (bp->length() == 0) | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1061:19: error: 'bp' was not declared in this scope 1061 | _carriage = bp.get(); | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1067:51: error: 'r' has incomplete type 1067 | void push_back(ceph::unique_leakable_ptr r) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(ceph::unique_leakable_ptr)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1068:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1068 | _buffers.push_back(*ptr_node::create(std::move(r)).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::share(const ceph::buffer::v15_2_0::list&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:1101:41: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1101 | _buffers.push_back(*ptr_node::create(bp).release()); | ^~~~~~ [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/neon/gf_w4_neon.c.o -- Performing Test C_FLAG_WUNDEF - Success -- Performing Test CXX_FLAG_WUNDEF [ 9%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/queue/cls_queue_src.cc.o -- Performing Test CXX_FLAG_WUNDEF - Success -- Performing Test C_FLAG_WSHADOW [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/llex.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/journal/cls_journal.cc:6: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In static member function 'static void denc_traits::decode(ceph::buffer::v15_2_0::ptr&, ceph::buffer::v15_2_0::list::const_iterator&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:821:31: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 821 | v = ceph::buffer::copy(s.c_str(), s.length()); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h: In function 'void ceph::decode(buffer::v15_2_0::ptr&, buffer::v15_2_0::list::const_iterator&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:273:24: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 273 | bp = buffer::copy(s.c_str(), s.length()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ [ 9%] Linking C shared library ../../lib/libosd_tp.so [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/neon/gf_w8_neon.c.o -- Performing Test C_FLAG_WSHADOW - Success -- Performing Test CXX_FLAG_WSHADOW In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.h:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In static member function 'static void denc_traits::decode(ceph::buffer::v15_2_0::ptr&, ceph::buffer::v15_2_0::list::const_iterator&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:821:31: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 821 | v = ceph::buffer::copy(s.c_str(), s.length()); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h: In function 'void ceph::decode(buffer::v15_2_0::ptr&, buffer::v15_2_0::list::const_iterator&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:273:24: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 273 | bp = buffer::copy(s.c_str(), s.length()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ In function 'gf_w8_table_init', inlined from 'gf_w8_init' at /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/jerasure/gf-complete/src/gf_w8.c:2321:36: /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/jerasure/gf-complete/src/gf_w8.c:1203:3: warning: 'scase' may be used uninitialized [-Wmaybe-uninitialized] 1203 | switch (scase) { | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/jerasure/gf-complete/src/gf_w8.c: In function 'gf_w8_init': /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/jerasure/gf-complete/src/gf_w8.c:1140:22: note: 'scase' was declared here 1140 | int a, b, c, prod, scase; | ^~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/vector:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 9%] Built target osd_tp [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/neon/gf_w16_neon.c.o [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lmem.c.o [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/neon/gf_w32_neon.c.o -- Performing Test CXX_FLAG_WSHADOW - Success -- Performing Test C_FLAG_WCAST_ALIGN [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lobject.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/lock/cls_lock_client.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/lock/cls_lock_client.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In instantiation of 'ceph::buffer::v15_2_0::ptr ceph::buffer::v15_2_0::ptr::iterator_impl::get_ptr(size_t) [with bool is_const = true; size_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:847:26: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:221:30: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 221 | return buffer::copy(get_pos_add(len), len); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lopcodes.c.o -- Performing Test C_FLAG_WCAST_ALIGN - Success -- Performing Test CXX_FLAG_WCAST_ALIGN [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/EventSelect.cc.o [ 9%] Building CXX object src/osdc/CMakeFiles/osdc.dir/ObjectCacher.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In instantiation of 'ceph::buffer::v15_2_0::ptr ceph::buffer::v15_2_0::ptr::iterator_impl::get_ptr(size_t) [with bool is_const = true; size_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:847:26: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:221:30: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 221 | return buffer::copy(get_pos_add(len), len); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/otp/cls_otp_client.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/otp/cls_otp_client.cc:15: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 9%] Building C object src/erasure-code/jerasure/CMakeFiles/gf-complete_objs.dir/gf-complete/src/neon/gf_w64_neon.c.o [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lparser.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd_types.cc:748:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/version/cls_version_client.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/version/cls_version_types.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/version/cls_version_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/version/cls_version_client.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/version/cls_version_client.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ -- Performing Test CXX_FLAG_WCAST_ALIGN - Success -- Performing Test C_FLAG_WCAST_QUAL -- Performing Test C_FLAG_WCAST_QUAL - Success -- Performing Test CXX_FLAG_WCAST_QUAL make[2]: *** [src/cls/CMakeFiles/cls_journal.dir/build.make:76: src/cls/CMakeFiles/cls_journal.dir/journal/cls_journal.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/PosixStack.cc.o make[2]: *** [src/cls/CMakeFiles/cls_rbd.dir/build.make:90: src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd_types.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/Stack.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_client.cc:5: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_client.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_client.cc:3: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 9%] Built target gf-complete_objs [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/crypto_onwire.cc.o [ 9%] Built target civetweb_common_objs [ 9%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/pidfile.cc.o -- Performing Test CXX_FLAG_WCAST_QUAL - Success -- Performing Test C_FLAG_WSTRICT_PROTOTYPES In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying [ 9%] Linking CXX static library ../../lib/libcpu_profiler.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/snappy/CompressionPluginSnappy.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/snappy/CompressionPluginSnappy.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/snappy/SnappyCompressor.h: In member function 'virtual int SnappyCompressor::decompress(ceph::buffer::v15_2_0::list::const_iterator&, size_t, ceph::bufferlist&)': /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/snappy/SnappyCompressor.h:99:13: error: 'uint32' is not a member of 'snappy' 99 | snappy::uint32 res_len = 0; | ^~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/snappy/SnappyCompressor.h:101:52: error: 'res_len' was not declared in this scope 101 | if (!snappy::GetUncompressedLength(&source_1, &res_len)) { | ^~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/snappy/SnappyCompressor.h:105:19: error: 'res_len' was not declared in this scope 105 | bufferptr ptr(res_len); | ^~~~~~~ [ 9%] Built target cpu_profiler [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/frames_v2.cc.o [ 9%] Linking CXX shared library ../../lib/libcls_numops.so -- 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 [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstate.c.o [ 9%] Built target cls_numops [ 9%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/BackTrace.cc.o -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success -- Found Threads: TRUE -- Configuring incomplete, errors occurred! CMake Error at CMakeLists.txt:125 (add_subdirectory): add_subdirectory given source "lib" which is not an existing directory. CMake Error at CMakeLists.txt:129 (message): You need to build static library to build zstd CLI make[2]: *** [src/compressor/zstd/CMakeFiles/zstd_ext.dir/build.make:92: src/compressor/zstd/zstd_ext-prefix/src/zstd_ext-stamp/zstd_ext-configure] Error 1 make[1]: *** [CMakeFiles/Makefile2:7307: src/compressor/zstd/CMakeFiles/zstd_ext.dir/all] Error 2 [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstring.c.o [ 9%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltable.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/lz4/LZ4Compressor.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/lz4/CompressionPluginLZ4.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/lz4/CompressionPluginLZ4.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/common/Tub.h: In instantiation of 'ElementType* Tub::construct(Args&& ...) [with Args = {long unsigned int&}; ElementType = ceph::buffer::v15_2_0::ptr]': /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/lz4/LZ4Compressor.h:120:28: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/common/Tub.h:205:9: warning: placement new constructing an object of type 'ceph::buffer::v15_2_0::ptr' and size '16' in a region of type 'ceph::buffer::v15_2_0::ptr [0]' and size '0' [-Wplacement-new=] 205 | new(object) ElementType(std::forward(args)...); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/Tub.h:274:15: note: 'Tub::object' declared here 274 | ElementType object[0]; | ^~~~~~ [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/net_handler.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/refcount/cls_refcount_ops.h:135:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.cc:8: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 9%] Linking CXX shared library ../../lib/libcls_version.so [ 9%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/EventEpoll.cc.o [ 9%] Built target cls_version [ 10%] Building CXX object src/cls/CMakeFiles/cls_version_client.dir/version/cls_version_types.cc.o [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/ConfUtils.cc.o [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Cycles.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h: In instantiation of 'ceph::buffer::v15_2_0::ptr ceph::buffer::v15_2_0::ptr::iterator_impl::get_ptr(size_t) [with bool is_const = true; size_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:847:26: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:221:30: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 221 | return buffer::copy(get_pos_add(len), len); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ [ 10%] Linking CXX shared library ../../lib/libcls_timeindex.so [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltm.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/buffer.h:58: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = long unsigned int; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/librados/snap_set_diff.cc:110:25: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.cc:23: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lundump.c.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lvm.c.o [ 10%] Built target cls_timeindex /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc: In member function 'virtual bool OpenSSLCryptoAccel::cbc_encrypt(unsigned char*, const unsigned char*, size_t, const unsigned char (&)[16], const unsigned char (&)[32])': /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc:27:26: warning: 'int AES_set_encrypt_key(const unsigned char*, int, AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 27 | if (AES_set_encrypt_key(const_cast(&key[0]), 256, &aes_key) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc:16: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc:30:18: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 30 | AES_cbc_encrypt(const_cast(in), out, size, &aes_key, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | const_cast(&iv[0]), AES_ENCRYPT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc: In member function 'virtual bool OpenSSLCryptoAccel::cbc_decrypt(unsigned char*, const unsigned char*, size_t, const unsigned char (&)[16], const unsigned char (&)[32])': /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc:43:26: warning: 'int AES_set_decrypt_key(const unsigned char*, int, AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 43 | if (AES_set_decrypt_key(const_cast(&key[0]), 256, &aes_key) < 0) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/crypto/openssl/openssl_crypto_accel.cc:46:18: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 46 | AES_cbc_encrypt(const_cast(in), out, size, &aes_key, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 47 | const_cast(&iv[0]), AES_DECRYPT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lzio.c.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lauxlib.c.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lbaselib.c.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lbitlib.c.o [ 10%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/Infiniband.cc.o [ 10%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/DecayCounter.cc.o [ 10%] Building C object src/lua/CMakeFiles/liblua.dir/src/lcorolib.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/zlib/ZlibCompressor.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/compressor/zlib/ZlibCompressor.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/ldblib.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:27: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/liolib.c.o make[2]: *** [src/compressor/snappy/CMakeFiles/ceph_snappy.dir/build.make:76: src/compressor/snappy/CMakeFiles/ceph_snappy.dir/CompressionPluginSnappy.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:7255: src/compressor/snappy/CMakeFiles/ceph_snappy.dir/all] Error 2 make[1]: *** [CMakeFiles/Makefile2:5473: src/cls/CMakeFiles/cls_journal.dir/all] Error 2 [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/lmathlib.c.o [ 11%] Building CXX object src/cls/CMakeFiles/cls_queue.dir/__/common/ceph_json.cc.o [ 11%] Linking CXX shared library ../../lib/libcls_log.so In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/spirit/home/qi/string/symbols.hpp:30, from /usr/include/boost/spirit/home/qi/string.hpp:15, from /usr/include/boost/spirit/home/qi.hpp:28, from /usr/include/boost/spirit/include/qi.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/MgrCap.cc:17: /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ [ 11%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAConnectedSocketImpl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc: In member function 'int CryptoAESKeyHandler::init(const ceph::bufferptr&, std::ostringstream&)': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:255:26: warning: 'int AES_set_encrypt_key(const unsigned char*, int, AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 255 | AES_set_encrypt_key((const unsigned char*)secret.c_str(), | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 256 | AES_KEY_LEN * CHAR_BIT, &enc_key); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:19: /usr/include/openssl/aes.h:51:5: note: declared here 51 | int AES_set_encrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:263:26: warning: 'int AES_set_decrypt_key(const unsigned char*, int, AES_KEY*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 263 | AES_set_decrypt_key((const unsigned char*)secret.c_str(), | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 264 | AES_KEY_LEN * CHAR_BIT, &dec_key); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:54:5: note: declared here 54 | int AES_set_decrypt_key(const unsigned char *userKey, const int bits, | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc: In member function 'virtual int CryptoAESKeyHandler::encrypt(const ceph::bufferlist&, ceph::bufferlist&, std::string*) const': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:308:20: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 308 | AES_cbc_encrypt(in_buf, reinterpret_cast(out_tmp.c_str()), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 309 | out_tmp.length(), &enc_key, iv, AES_ENCRYPT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc: In member function 'virtual int CryptoAESKeyHandler::decrypt(const ceph::bufferlist&, ceph::bufferlist&, std::string*) const': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:333:20: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 333 | AES_cbc_encrypt(in_buf, reinterpret_cast(out_tmp.c_str()), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 334 | in.length(), &dec_key, iv, AES_DECRYPT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ [ 11%] Linking CXX static library ../../lib/libcls_otp_client.a [ 11%] Linking CXX static library ../../lib/libcls_refcount_client.a /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc: In member function 'virtual std::size_t CryptoAESKeyHandler::encrypt(const CryptoKeyHandler::in_slice_t&, const CryptoKeyHandler::out_slice_t&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:377:20: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 377 | AES_cbc_encrypt(in.buf, out.buf, main_encrypt_size, &enc_key, iv.data(), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 378 | AES_ENCRYPT); | ~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:382:20: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 382 | AES_cbc_encrypt(last_block.data(), out.buf + main_encrypt_size, | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 383 | tail_encrypt_size, &enc_key, iv.data(), AES_ENCRYPT); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc: In member function 'virtual std::size_t CryptoAESKeyHandler::decrypt(const CryptoKeyHandler::in_slice_t&, const CryptoKeyHandler::out_slice_t&) const': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.cc:405:20: warning: 'void AES_cbc_encrypt(const unsigned char*, unsigned char*, size_t, const AES_KEY*, unsigned char*, int)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 405 | AES_cbc_encrypt(in.buf, out.buf, in.length, &dec_key, iv.data(), | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 406 | AES_DECRYPT); | ~~~~~~~~~~~~ /usr/include/openssl/aes.h:66:6: note: declared here 66 | void AES_cbc_encrypt(const unsigned char *in, unsigned char *out, | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.cc:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:5, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.cc:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/RotatingKeyRing.cc:3: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 11%] Building CXX object src/erasure-code/jerasure/CMakeFiles/jerasure_utils.dir/ErasureCodeJerasure.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthClientHandler.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthClientHandler.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 11%] Linking CXX static library ../../lib/libcls_lock_client.a [ 11%] Built target cls_otp_client [ 11%] Built target cls_refcount_client In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/hello/cls_hello.cc:38: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/hello/cls_hello.cc:32: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/loslib.c.o [ 11%] Building CXX object src/common/CMakeFiles/common-common-objs.dir/Finisher.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cephfs/cls_cephfs.cc:20: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cephfs/cls_cephfs.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Building C object src/erasure-code/shec/CMakeFiles/shec_utils.dir/determinant.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/istream:38, from /usr/include/c++/12/sstream:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:22: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushTester.cc.o [ 11%] Built target cls_lock_client [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/lstrlib.c.o [ 11%] Built target cls_log /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 11%] Building CXX object src/global/CMakeFiles/libglobal_objs.dir/signal_handler.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd.cc:38: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd.cc:28: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ [ 11%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Objecter.cc.o /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/ltablib.c.o [ 11%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxProtocol.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/DecayCounter.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/DecayCounter.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:52: error: expected template-name before '<' token 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:52: error: expected '{' before '<' token /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:397:17: error: 'unique_ptr' in namespace 'std' does not name a template type 397 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:64:1: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 63 | #include "inline_memory.h" +++ |+#include 64 | /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:401:17: error: 'unique_ptr' in namespace 'std' does not name a template type 401 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:401:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 401 | static std::unique_ptr | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:406:17: error: 'unique_ptr' in namespace 'std' does not name a template type 406 | static std::unique_ptr | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:406:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 406 | static std::unique_ptr | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:428:17: error: 'unique_ptr' in namespace 'std' does not name a template type 428 | static std::unique_ptr create_hypercombined( | ^~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:428:12: note: 'std::unique_ptr' is defined in header ''; did you forget to '#include '? 428 | static std::unique_ptr create_hypercombined( | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1058:20: error: 'std::unique_ptr' has not been declared 1058 | void push_back(std::unique_ptr bp) { | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1058:35: error: expected ',' or '...' before '<' token 1058 | void push_back(std::unique_ptr bp) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1079:18: error: 'std::unique_ptr' has not been declared 1079 | void rebuild(std::unique_ptr nb); | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1079:33: error: expected ',' or '...' before '<' token 1079 | void rebuild(std::unique_ptr nb); | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::page_aligned_appender::append(const char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:903:41: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 903 | buffer = create_page_aligned(alloc); | ~~~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(const ceph::buffer::v15_2_0::ptr&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1043:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1043 | _buffers.push_back(*ptr_node::create(bp).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(ceph::buffer::v15_2_0::ptr&&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1052:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1052 | _buffers.push_back(*ptr_node::create(std::move(bp)).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(int)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1059:11: error: 'bp' was not declared in this scope 1059 | if (bp->length() == 0) | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1061:19: error: 'bp' was not declared in this scope 1061 | _carriage = bp.get(); | ^~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1067:51: error: 'r' has incomplete type 1067 | void push_back(ceph::unique_leakable_ptr r) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::push_back(ceph::unique_leakable_ptr)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1068:37: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1068 | _buffers.push_back(*ptr_node::create(std::move(r)).release()); | ^~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In member function 'void ceph::buffer::v15_2_0::list::share(const ceph::buffer::v15_2_0::list&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:1101:41: error: 'create' is not a member of 'ceph::buffer::v15_2_0::ptr_node' 1101 | _buffers.push_back(*ptr_node::create(bp).release()); | ^~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/DispatchStrategy.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/QueueStrategy.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/QueueStrategy.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/DispatchQueue.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/KeyRing.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/KeyRing.cc:21: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthAuthorizeHandler.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthRegistry.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthRegistry.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxAuthorizeHandler.cc:1: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/OSDMap.h:38, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.h:36, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/mutex:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.cc:16: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:26: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/algorithm:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/linit.c.o [ 11%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/cephx/CephxSessionHandler.cc.o [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/lutf8lib.c.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthClientHandler.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxClientHandler.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxClientHandler.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 11%] Building C object src/lua/CMakeFiles/liblua.dir/src/loadlib_rel.c.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Messenger.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Messenger.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Linking CXX shared library ../../lib/libcls_user.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 11%] Building CXX object src/auth/CMakeFiles/common-auth-objs.dir/none/AuthNoneAuthorizeHandler.cc.o make[2]: *** [src/CMakeFiles/rados_snap_set_diff_obj.dir/build.make:76: src/CMakeFiles/rados_snap_set_diff_obj.dir/librados/snap_set_diff.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:3510: src/CMakeFiles/rados_snap_set_diff_obj.dir/all] Error 2 [ 11%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAIWARPConnectedSocketImpl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Built target cls_user [ 11%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAServerSocketImpl.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Building CXX object src/osdc/CMakeFiles/osdc.dir/Striper.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.cc:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 11%] Linking C static library ../../lib/liblua.a [ 11%] Linking CXX shared library ../../../lib/libceph_lz4.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/DecayCounter.cc:18: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In static member function 'static void denc_traits::decode(ceph::buffer::v15_2_0::ptr&, ceph::buffer::v15_2_0::list::const_iterator&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:821:31: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 821 | v = ceph::buffer::copy(s.c_str(), s.length()); | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ [ 11%] Linking CXX shared library ../../lib/libcls_lock.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h: In function 'void ceph::decode(buffer::v15_2_0::ptr&, buffer::v15_2_0::list::const_iterator&)': /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:273:24: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 273 | bp = buffer::copy(s.c_str(), s.length()); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/Watch.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:48: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ [ 11%] Built target liblua /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/Watch.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:48: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw_gc/cls_rgw_gc.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h: In instantiation of 'ceph::buffer::v15_2_0::ptr ceph::buffer::v15_2_0::ptr::iterator_impl::get_ptr(size_t) [with bool is_const = true; size_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:847:26: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:221:30: error: invalid use of incomplete type 'struct ceph::unique_leakable_ptr' 221 | return buffer::copy(get_pos_add(len), len); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/buffer.h:97:8: note: declaration of 'struct ceph::unique_leakable_ptr' 97 | struct unique_leakable_ptr : public std::unique_ptr> { | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ [ 12%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAIWARPServerSocketImpl.cc.o /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 12%] Building CXX object src/msg/CMakeFiles/common-msg-objs.dir/async/rdma/RDMAStack.cc.o make[2]: *** [src/common/CMakeFiles/common-common-objs.dir/build.make:132: src/common/CMakeFiles/common-common-objs.dir/DecayCounter.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/Watch.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:48: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ [ 12%] Building CXX object src/crush/CMakeFiles/crush_objs.dir/CrushLocation.cc.o [ 12%] Linking CXX shared library ../../lib/libcls_otp.so /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ [ 12%] Built target ceph_lz4 /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ [ 12%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/queue/cls_queue_src.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/Watch.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:48: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/Watch.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:48: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ [ 12%] Built target cls_lock /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ [ 12%] Building CXX object src/cls/CMakeFiles/cls_rgw_gc.dir/__/common/ceph_json.cc.o In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.cc:28: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, int>; C = std::map; Details = _denc::maplike_details, int> >; Ts = {std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> >}; container = std::map, int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, int>; traits = denc_traits, int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rgw/cls_rgw_ops.h:1229:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T&' {aka 'const std::pair, int>&'} binds to a temporary constructed from type 'const std::pair, int>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, int> >, std::__cxx11::basic_string, std::allocator >, int, std::less, std::allocator > >, std::allocator, std::allocator >, int> > >::T' {aka 'const std::pair, int>'} to make the copy explicit or 'const std::pair, int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/Watch.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:48: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/entity_name.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_argparse.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/global/global_init.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.cc:4: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.cc:1: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/Watch.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:48: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ [ 12%] Linking CXX shared library ../../../lib/libceph_crypto_openssl.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/Watch.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:48: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ [ 12%] Built target cls_otp /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV1.cc:9: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV1.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV1.cc:4: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ [ 12%] Linking CXX static library ../../lib/libheap_profiler.a [ 12%] Built target ceph_crypto_openssl [ 12%] Built target heap_profiler [ 12%] Built target common_buffer_obj In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/bits/locale_classes.h:40, from /usr/include/c++/12/bits/ios_base.h:41, from /usr/include/c++/12/ios:42, from /usr/include/c++/12/ostream:38, from /usr/include/c++/12/iostream:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.cc:9: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV2.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/list:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV2.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV2.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Cond.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/ProtocolV2.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/hello/cls_hello.cc:37: /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 12%] Built target compressor_objs In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/objclass.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cephfs/cls_cephfs.cc:19: /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ [ 12%] Linking C shared library ../../lib/librbd_tp.so /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying [ 12%] Built target rbd_tp /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/frames_v2.h:4, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/frames_v2.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, bool>; C = std::map; Details = _denc::maplike_details, bool> >; Ts = {std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> >}; container = std::map, bool>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, bool>; traits = denc_traits, bool>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/cas/cls_cas_ops.h:126:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T&' {aka 'const std::pair, bool>&'} binds to a temporary constructed from type 'const std::pair, bool>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, bool> >, std::__cxx11::basic_string, std::allocator >, bool, std::less, std::allocator > >, std::allocator, std::allocator >, bool> > >::T' {aka 'const std::pair, bool>'} to make the copy explicit or 'const std::pair, bool>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.h:14, from /builddir/build/BUILD/dsms-storage-v1.0/src/erasure-code/ErasureCode.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 12%] Built target jerasure_objs /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncConnection.h:29, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/Protocol.h:10: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/mempool.h:32, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:33: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying make[2]: *** [src/compressor/zlib/CMakeFiles/ceph_zlib.dir/build.make:90: src/compressor/zlib/CMakeFiles/ceph_zlib.dir/ZlibCompressor.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:7281: src/compressor/zlib/CMakeFiles/ceph_zlib.dir/all] Error 2 /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/AsyncMessenger.h:22: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying make[2]: *** [src/cls/CMakeFiles/cls_hello.dir/build.make:76: src/cls/CMakeFiles/cls_hello.dir/hello/cls_hello.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:4978: src/cls/CMakeFiles/cls_hello.dir/all] Error 2 /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/objclass/../include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying [ 12%] Built target common_prioritycache_obj [ 12%] Linking CXX static library ../../lib/libcls_version_client.a In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/lru.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/map:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Messenger.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.cc:6: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:3040:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying make[2]: *** [src/cls/CMakeFiles/cls_cephfs.dir/build.make:76: src/cls/CMakeFiles/cls_cephfs.dir/cephfs/cls_cephfs.cc.o] Error 1 /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:3060:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying make[1]: *** [CMakeFiles/Makefile2:5578: src/cls/CMakeFiles/cls_cephfs.dir/all] Error 2 /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd.cc:3159:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 12%] Built target cls_version_client /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:19: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying make[2]: *** [src/cls/CMakeFiles/cls_cas.dir/build.make:76: src/cls/CMakeFiles/cls_cas.dir/cas/cls_cas.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:5684: src/cls/CMakeFiles/cls_cas.dir/all] Error 2 /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:3040:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {int, int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:3058:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, int, int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, int, int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/crush/CrushWrapper.cc:3060:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/cls/rbd/cls_rbd.cc:3159:9: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying [ 12%] Linking CXX static library ../../lib/libfmt.a /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying make[2]: *** [src/erasure-code/CMakeFiles/erasure_code_objs.dir/build.make:76: src/erasure-code/CMakeFiles/erasure_code_objs.dir/ErasureCode.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:6652: src/erasure-code/CMakeFiles/erasure_code_objs.dir/all] Error 2 [ 12%] Built target fmt /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/ObjectCacher.h:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ make[2]: *** [src/erasure-code/shec/CMakeFiles/shec_utils.dir/build.make:76: src/erasure-code/shec/CMakeFiles/shec_utils.dir/__/ErasureCode.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/crypto_onwire.cc:10: /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In constructor 'ceph::crypto::ssl::HMAC::HMAC(const EVP_MD*, const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:134:31: warning: 'HMAC_CTX* HMAC_CTX_new()' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 134 | : mpContext(HMAC_CTX_new()) { | ~~~~~~~~~~~~^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:21: /usr/include/openssl/hmac.h:33:33: note: declared here 33 | OSSL_DEPRECATEDIN_3_0 HMAC_CTX *HMAC_CTX_new(void); | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:135:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 135 | const auto r = HMAC_Init_ex(mpContext, key, length, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In destructor 'ceph::crypto::ssl::HMAC::~HMAC()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:141:20: warning: 'void HMAC_CTX_free(HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 141 | HMAC_CTX_free(mpContext); | ~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:35:28: note: declared here 35 | OSSL_DEPRECATEDIN_3_0 void HMAC_CTX_free(HMAC_CTX *ctx); | ^~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Restart()': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:145:50: warning: 'const EVP_MD* HMAC_CTX_get_md(const HMAC_CTX*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 145 | const EVP_MD * const type = HMAC_CTX_get_md(mpContext); | ~~~~~~~~~~~~~~~^~~~~~~~~~~ /usr/include/openssl/hmac.h:51:37: note: declared here 51 | OSSL_DEPRECATEDIN_3_0 const EVP_MD *HMAC_CTX_get_md(const HMAC_CTX *ctx); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:146:34: warning: 'int HMAC_Init_ex(HMAC_CTX*, const void*, int, const EVP_MD*, ENGINE*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 146 | const auto r = HMAC_Init_ex(mpContext, nullptr, 0, type, nullptr); | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:43:27: note: declared here 43 | OSSL_DEPRECATEDIN_3_0 int HMAC_Init_ex(HMAC_CTX *ctx, const void *key, int len, | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Update(const unsigned char*, size_t)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:153:35: warning: 'int HMAC_Update(HMAC_CTX*, const unsigned char*, size_t)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 153 | const auto r = HMAC_Update(mpContext, input, length); | ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:45:27: note: declared here 45 | OSSL_DEPRECATEDIN_3_0 int HMAC_Update(HMAC_CTX *ctx, const unsigned char *data, | ^~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h: In member function 'void ceph::crypto::ssl::HMAC::Final(unsigned char*)': /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_crypto.h:161:32: warning: 'int HMAC_Final(HMAC_CTX*, unsigned char*, unsigned int*)' is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations] 161 | const auto r = HMAC_Final(mpContext, digest, &s); | ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/openssl/hmac.h:47:27: note: declared here 47 | OSSL_DEPRECATEDIN_3_0 int HMAC_Final(HMAC_CTX *ctx, unsigned char *md, | ^~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Filer.h:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/crypto_onwire.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/crypto_onwire.cc:7: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying make[1]: *** [CMakeFiles/Makefile2:6904: src/erasure-code/shec/CMakeFiles/shec_utils.dir/all] Error 2 /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/PosixStack.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/async/PosixStack.cc:25: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /usr/include/boost/smart_ptr/detail/sp_thread_sleep.hpp:22, from /usr/include/boost/smart_ptr/detail/yield_k.hpp:23, from /usr/include/boost/smart_ptr/detail/spinlock_gcc_atomic.hpp:14, from /usr/include/boost/smart_ptr/detail/spinlock.hpp:42, from /usr/include/boost/smart_ptr/detail/spinlock_pool.hpp:25, from /usr/include/boost/smart_ptr/shared_ptr.hpp:29, from /usr/include/boost/shared_ptr.hpp:17, from /usr/include/boost/spirit/home/qi/string/symbols.hpp:30, from /usr/include/boost/spirit/home/qi/string.hpp:15, from /usr/include/boost/spirit/home/qi.hpp:28, from /usr/include/boost/spirit/include/qi.hpp:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ConfUtils.cc:36: /usr/include/boost/spirit/include/phoenix.hpp:12:1: note: '#pragma message: This header is deprecated. Use instead.' 12 | BOOST_HEADER_DEPRECATED("") | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Messenger.h:27: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ [ 12%] Linking C shared library ../../lib/librados_tp.so /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying [ 12%] Built target rados_tp /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying make[2]: *** [src/cls/CMakeFiles/cls_rbd.dir/build.make:76: src/cls/CMakeFiles/cls_rbd.dir/rbd/cls_rbd.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:5056: src/cls/CMakeFiles/cls_rbd.dir/all] Error 2 /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying make[2]: *** [src/crush/CMakeFiles/crush_objs.dir/build.make:132: src/crush/CMakeFiles/crush_objs.dir/CrushWrapper.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying make[2]: *** [src/msg/CMakeFiles/common-msg-objs.dir/build.make:160: src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncConnection.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying make[2]: *** [src/msg/CMakeFiles/common-msg-objs.dir/build.make:174: src/msg/CMakeFiles/common-msg-objs.dir/async/AsyncMessenger.cc.o] Error 1 /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/bits/stl_algobase.h:65, from /usr/include/c++/12/bits/stl_tree.h:63, from /usr/include/c++/12/set:60, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:17, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Striper.h:19: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Crypto.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthAuthorizeHandler.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/none/AuthNoneAuthorizeHandler.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/none/AuthNoneAuthorizeHandler.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/AuthSessionHandler.h:20, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxSessionHandler.h:16, from /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxSessionHandler.cc:15: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDFastDispatchOp.h:8, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDOp.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:43, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.cc:17: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:45:32: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 45 | class iterator : public std::iterator | ^~~~~~~~ In file included from /usr/include/c++/12/string:45, from /usr/include/c++/12/stdexcept:39, from /usr/include/c++/12/system_error:41, from /usr/include/c++/12/bits/std_mutex.h:39, from /usr/include/c++/12/condition_variable:39, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:18: /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:109:38: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 109 | class const_iterator : public std::iterator | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/librados/ListObjectImpl.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:50: /builddir/build/BUILD/dsms-storage-v1.0/src/include/rados/librados.hpp:105:54: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 105 | class CEPH_RADOS_API NObjectIterator : public std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/debug.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Connection.h:24, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/Watch.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:48: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/Context.h:19, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/Finisher.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:40: /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3475:3: note: in expansion of macro 'ldpp_dout' 3475 | ldpp_dout(dpp, 10) << "build_prior all_probe " << all_probe << dendl; | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3494:7: note: in expansion of macro 'ldpp_dout' 3494 | ldpp_dout(dpp, 10) << "build_prior maybe_rw interval:" << start | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3515:11: note: in expansion of macro 'ldpp_dout' 3515 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3520:11: note: in expansion of macro 'ldpp_dout' 3520 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3526:11: note: in expansion of macro 'ldpp_dout' 3526 | ldpp_dout(dpp, 10) << "build_prior prior osd." << so.osd | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3540:9: note: in expansion of macro 'ldpp_dout' 3540 | ldpp_dout(dpp, 10) << "build_prior possibly went active+rw," | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:180:56: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' 180 | dout_impl(pdpp->get_cct(), ceph::dout::need_dynamic(pdpp->get_subsys()), v) \ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:58: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3550:3: note: in expansion of macro 'ldpp_dout' 3550 | ldpp_dout(dpp, 10) << "build_prior final: probe " << probe | ^~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = unsigned int]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ [ 12%] Built target libglobal_objs make[2]: *** [src/osdc/CMakeFiles/osdc.dir/build.make:76: src/osdc/CMakeFiles/osdc.dir/Filer.cc.o] Error 1 make[2]: *** Waiting for unfinished jobs.... [ 12%] Built target jerasure_utils /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc: In member function 'virtual bool CephXAuthorizer::add_challenge(ceph::common::CephContext*, const ceph::bufferlist&)': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc:582:57: warning: 'ch.CephXAuthorizeChallenge::server_challenge' may be used uninitialized [-Wmaybe-uninitialized] 582 | msg.server_challenge_plus_one = ch.server_challenge + 1; | ~~~~~~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc:574:29: note: 'ch.CephXAuthorizeChallenge::server_challenge' was declared here 574 | CephXAuthorizeChallenge ch; | ^~ In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/msg_types.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_context.h:33, from /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:29: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/mon/Session.h:22, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/PaxosServiceMessage.h:7, from /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPoolOp.h:18, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.cc:32: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h: At global scope: /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:162:24: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 162 | class iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/xlist.h:186:30: warning: 'template struct std::iterator' is deprecated [-Wdeprecated-declarations] 186 | class const_iterator: std::iterator { | ^~~~~~~~ /usr/include/c++/12/bits/stl_iterator_base_types.h:127:34: note: declared here 127 | struct _GLIBCXX17_DEPRECATED iterator | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc: In function 'bool cephx_verify_authorizer(ceph::common::CephContext*, const KeyStore&, ceph::buffer::v15_2_0::list::const_iterator&, size_t, CephXServiceTicketInfo&, std::unique_ptr*, std::string*, ceph::bufferlist*)': /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc:516:41: warning: 'auth_msg.CephXAuthorize::nonce' may be used uninitialized [-Wmaybe-uninitialized] 516 | reply.nonce_plus_one = auth_msg.nonce + 1; | ~~~~~~~~~~~~~~~^~~ /builddir/build/BUILD/dsms-storage-v1.0/src/auth/cephx/CephxProtocol.cc:479:18: note: 'auth_msg.CephXAuthorize::nonce' was declared here 479 | CephXAuthorize auth_msg; | ^~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying make[2]: *** [src/osdc/CMakeFiles/osdc.dir/build.make:118: src/osdc/CMakeFiles/osdc.dir/Striper.cc.o] Error 1 [ 12%] Linking CXX shared library ../../lib/libcls_queue.so make[2]: *** [src/osdc/CMakeFiles/osdc.dir/build.make:90: src/osdc/CMakeFiles/osdc.dir/ObjectCacher.cc.o] Error 1 [ 12%] Built target common-auth-objs [ 12%] Built target cls_queue make[1]: *** [CMakeFiles/Makefile2:4256: src/crush/CMakeFiles/crush_objs.dir/all] Error 2 [ 12%] Linking CXX shared library ../../lib/libcls_rgw_gc.so In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:31: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] [ 12%] Built target cls_rgw_gc /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.cc: In lambda function: /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.cc:937:42: error: call to non-'constexpr' function 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = long int&]' 937 | ldout(cct, ceph::dout::need_dynamic( | ~~~~~~~~~~~~~~~~~~~~~~~~^ 938 | cct->_conf->ms_dump_corrupt_message_level)) << "dump: \n"; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:156:63: note: in definition of macro 'dout_impl' 156 | return (cctX->_conf->subsys.template should_gather()); \ | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.cc:937:7: note: in expansion of macro 'ldout' 937 | ldout(cct, ceph::dout::need_dynamic( | ^~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/common/dout.h:106:21: note: 'ceph::dout::dynamic_marker_t ceph::dout::need_dynamic(T&&) [with T = long int&]' declared here 106 | dynamic_marker_t need_dynamic(T&& t) { | ^~~~~~~~~~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::pair >; C = std::map; Details = _denc::maplike_details, std::pair > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > >}; container = std::map, std::pair >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::pair >; traits = denc_traits, std::pair >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osdc/Objecter.h:710:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T&' {aka 'const std::pair, std::pair >&'} binds to a temporary constructed from type 'const std::pair, std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::pair > >, std::__cxx11::basic_string, std::allocator >, std::pair, std::less, std::allocator > >, std::allocator, std::allocator >, std::pair > > >::T' {aka 'const std::pair, std::pair >'} to make the copy explicit or 'const std::pair, std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/common/ceph_time.h:23, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:31, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/uuid.h:9, from /builddir/build/BUILD/dsms-storage-v1.0/src/include/types.h:21, from /builddir/build/BUILD/dsms-storage-v1.0/src/msg/Message.cc:11: /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(iterator&) [with T = long unsigned int; Map = std::map]': /builddir/build/BUILD/dsms-storage-v1.0/src/os/ObjectStore.h:526:20: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:512:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 512 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ make[2]: *** [src/osdc/CMakeFiles/osdc.dir/build.make:104: src/osdc/CMakeFiles/osdc.dir/Objecter.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:5840: src/osdc/CMakeFiles/osdc.dir/all] Error 2 In file included from /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:41: /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, std::less >; traits = denc_traits, std::__cxx11::basic_string, std::less >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonElection.h:101:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h: In instantiation of 'void interval_set::erase(T, T, std::function) [with T = inodeno_t; Map = std::map, std::allocator > >]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:517:10: required from 'void interval_set::erase(T) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/SessionMap.h:183:31: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:525:23: warning: comparison of unsigned expression in '>= 0' is always true [-Wtype-limits] 525 | ceph_assert(_size >= 0); /builddir/build/BUILD/dsms-storage-v1.0/src/include/ceph_assert.h:106:6: note: in definition of macro 'ceph_assert' 106 | ((expr) \ | ^~~~ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::list> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> >}; container = std::map, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::list>; traits = denc_traits, buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/auth/Auth.h:44:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::list> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::list, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/CompatSet.h:85:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long unsigned int, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::optional >; C = std::map; Details = _denc::maplike_details, std::optional > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > >}; container = std::map, std::optional >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::optional >; traits = denc_traits, std::optional >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:3809:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T&' {aka 'const std::pair, std::optional >&'} binds to a temporary constructed from type 'const std::pair, std::optional >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::optional > >, std::__cxx11::basic_string, std::allocator >, std::optional, std::less, std::allocator > >, std::allocator, std::allocator >, std::optional > > >::T' {aka 'const std::pair, std::optional >'} to make the copy explicit or 'const std::pair, std::optional >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, unsigned int>; C = std::map; Details = _denc::maplike_details, unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> >}; container = std::map, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, unsigned int>; traits = denc_traits, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:258:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T&' {aka 'const std::pair, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, unsigned int> >, std::__cxx11::basic_string, std::allocator >, unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, unsigned int> > >::T' {aka 'const std::pair, unsigned int>'} to make the copy explicit or 'const std::pair, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, long unsigned int>; C = std::map; Details = _denc::maplike_details, long unsigned int> >; Ts = {std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> >}; container = std::map, long unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, long unsigned int>; traits = denc_traits, long unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T&' {aka 'const std::pair, long unsigned int>&'} binds to a temporary constructed from type 'const std::pair, long unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, long unsigned int> >, std::__cxx11::basic_string, std::allocator >, long unsigned int, std::less, std::allocator > >, std::allocator, std::allocator >, long unsigned int> > >::T' {aka 'const std::pair, long unsigned int>'} to make the copy explicit or 'const std::pair, long unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long int, store_statfs_t, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MPGStats.h:56:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long int, store_statfs_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonPaxos.h:108:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string, std::less > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string, std::less >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string, std::less >; traits = denc_traits, std::__cxx11::basic_string, std::less >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MConfig.h:39:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string, std::less > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, std::__cxx11::basic_string >; C = std::map; Details = _denc::maplike_details, std::__cxx11::basic_string > >; Ts = {std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > >}; container = std::map, std::__cxx11::basic_string >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, std::__cxx11::basic_string >; traits = denc_traits, std::__cxx11::basic_string >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonElection.h:101:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T&' {aka 'const std::pair, std::__cxx11::basic_string >&'} binds to a temporary constructed from type 'const std::pair, std::__cxx11::basic_string >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::__cxx11::basic_string > >, std::__cxx11::basic_string, std::allocator >, std::__cxx11::basic_string, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator >, std::__cxx11::basic_string, std::allocator > > > >::T' {aka 'const std::pair, std::__cxx11::basic_string >'} to make the copy explicit or 'const std::pair, std::__cxx11::basic_string >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MOSDMap.h:143:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, ceph::buffer::v15_2_0::list, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >, unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {int, std::vector >, std::less, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MRemoveSnaps.h:42:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, int, std::vector >, std::less, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, health_check_t>; traits = denc_traits, health_check_t>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >; C = std::map; Details = _denc::maplike_details > > >; Ts = {unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > >}; container = std::map > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map > >; traits = denc_traits > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/MgrMap.h:397:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T&' {aka 'const std::pair > >&'} binds to a temporary constructed from type 'const std::pair > >' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > > >, unsigned int, std::set, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > >, std::less, std::allocator, std::allocator >, std::less, std::allocator > >, std::allocator, std::allocator > > > > > >::T' {aka 'const std::pair > >'} to make the copy explicit or 'const std::pair > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = long unsigned int; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrReport.h:158:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, OSDPerfMetricQuery, OSDPerfMetricReport, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMgrConfigure.h:61:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T&' {aka 'const std::pair >&'} binds to a temporary constructed from type 'const std::pair >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, OSDPerfMetricQuery, std::set, std::allocator >, std::less, std::allocator, std::allocator > > > >::T' {aka 'const std::pair >'} to make the copy explicit or 'const std::pair >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, ceph::buffer::v15_2_0::ptr>; C = std::map; Details = _denc::maplike_details, ceph::buffer::v15_2_0::ptr> >; Ts = {std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> >}; container = std::map, ceph::buffer::v15_2_0::ptr>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, buffer::v15_2_0::ptr>; traits = denc_traits, buffer::v15_2_0::ptr>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/os/Transaction.h:922:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T&' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>&'} binds to a temporary constructed from type 'const std::pair, ceph::buffer::v15_2_0::ptr>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, ceph::buffer::v15_2_0::ptr> >, std::__cxx11::basic_string, std::allocator >, ceph::buffer::v15_2_0::ptr, std::less, std::allocator > >, std::allocator, std::allocator >, ceph::buffer::v15_2_0::ptr> > >::T' {aka 'const std::pair, ceph::buffer::v15_2_0::ptr>'} to make the copy explicit or 'const std::pair, ceph::buffer::v15_2_0::ptr>&' to prevent copying make[1]: *** [CMakeFiles/Makefile2:4126: src/common/CMakeFiles/common-common-objs.dir/all] Error 2 /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, health_check_t>; C = std::map; Details = _denc::maplike_details, health_check_t> >; Ts = {std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> >}; container = std::map, health_check_t>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, health_check_t>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, health_check_t>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:117:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const health_check_map_t; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/health_check.h:115:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T&' {aka 'const std::pair, health_check_t>&'} binds to a temporary constructed from type 'const std::pair, health_check_t>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, health_check_t> >, std::__cxx11::basic_string, std::allocator >, health_check_t, std::less, std::allocator > >, std::allocator, std::allocator >, health_check_t> > >::T' {aka 'const std::pair, health_check_t>'} to make the copy explicit or 'const std::pair, health_check_t>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, snapid_t>, unsigned int>; C = std::map; Details = _denc::maplike_details, snapid_t>, unsigned int> >; Ts = {std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> >}; container = std::map, snapid_t>, unsigned int>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, snapid_t>, unsigned int>; traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/encoding.h:1021:11: required from 'std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> ceph::encode(const std::map<_Key, _Tp, _Compare, _Allocator>&, bufferlist&) [with T = dirfrag_t; U = std::map, snapid_t>, unsigned int>; Comp = std::less; Alloc = std::allocator, snapid_t>, unsigned int> > >; t_traits = denc_traits; u_traits = denc_traits, snapid_t>, unsigned int>, void>; std::enable_if_t<((! t_traits::supported) || (! u_traits::supported))> = void; bufferlist = buffer::v15_2_0::list]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MCacheExpire.h:53:13: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T&' {aka 'const std::pair, snapid_t>, unsigned int>&'} binds to a temporary constructed from type 'const std::pair, snapid_t>, unsigned int>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, snapid_t>, unsigned int> >, std::pair, std::allocator >, snapid_t>, unsigned int, std::less, std::allocator >, snapid_t> >, std::allocator, std::allocator >, snapid_t>, unsigned int> > >::T' {aka 'const std::pair, snapid_t>, unsigned int>'} to make the copy explicit or 'const std::pair, snapid_t>, unsigned int>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair > >, ceph::buffer::v15_2_0::list>; C = std::map; Details = _denc::maplike_details > >, ceph::buffer::v15_2_0::list> >; Ts = {std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> >}; container = std::map > >, ceph::buffer::v15_2_0::list>; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map > >, ceph::buffer::v15_2_0::list>; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits > >, ceph::buffer::v15_2_0::list>, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:345:9: required from 'std::enable_if_t<(is_same_v || is_same_v)> _denc_friend(T&, P&) [with T = const OSDPerfMetricReport; P = ceph::buffer::v15_2_0::list::contiguous_appender; std::enable_if_t<(is_same_v || is_same_v)> = void]' /builddir/build/BUILD/dsms-storage-v1.0/src/mgr/OSDPerfMetricTypes.h:342:3: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T&' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>&'} binds to a temporary constructed from type 'const std::pair > >, ceph::buffer::v15_2_0::list>' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base > >, ceph::buffer::v15_2_0::list> >, std::vector, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list, std::less, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > >, std::allocator, std::allocator >, std::allocator, std::allocator > > > > >, ceph::buffer::v15_2_0::list> > >::T' {aka 'const std::pair > >, ceph::buffer::v15_2_0::list>'} to make the copy explicit or 'const std::pair > >, ceph::buffer::v15_2_0::list>&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >; Ts = {int, unsigned int, std::less, mempool::pool_allocator >}; container = std::map, mempool::pool_allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > >; traits = denc_traits, mempool::pool_allocator > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:303:13: required from 'void compact_map_base::encode(ceph::buffer::v15_2_0::list&) const [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/compact_map.h:329:11: required from 'void encode(const compact_map_base&, ceph::buffer::v15_2_0::list&) [with Key = int; T = unsigned int; Map = std::map, mempool::pool_allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/mds/CDentry.h:259:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, int, unsigned int, std::less, mempool::pool_allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:895:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::bound_encode(const std::pair<_T1, _T2>&, size_t&, uint64_t) [with A = unsigned int; B = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:654:25: required from 'std::enable_if_t denc(const T&, size_t&, uint64_t) [with T = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t = void; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:967:17: required from 'static void _denc::container_base::bound_encode(const container&, size_t&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; size_t = long unsigned int; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1554:23: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] 963 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:963:23: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details, std::allocator > > >; Ts = {inodeno_t, inodeno_t, std::less, std::allocator >}; container = std::map, std::allocator > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, std::allocator > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, std::allocator > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:346:9: required from 'void interval_set::encode(ceph::buffer::v15_2_0::list::contiguous_appender&) const [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/interval_set.h:746:13: required from 'static void denc_traits >::encode(const interval_set&, ceph::buffer::v15_2_0::list::contiguous_appender&) [with T = inodeno_t; Map = std::map, std::allocator > >]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = interval_set; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MClientReply.h:274:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] 1001 | for (const T& e : s) { | ^ /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, std::allocator > > >, inodeno_t, inodeno_t, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {unsigned int, unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = long int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {long int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/osd/osd_types.h:6172:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, unsigned int, unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair; C = std::map; Details = _denc::maplike_details >; Ts = {long unsigned int, long unsigned int, std::less, std::allocator >}; container = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair >; C = std::map; Details = _denc::maplike_details > >; Ts = {unsigned int, std::map, std::allocator > >, std::less, std::allocator, std::allocator > > > >}; container = std::map >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map >; traits = denc_traits >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/mon/mon_types.h:100:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T&' {aka 'const std::pair&'} binds to a temporary constructed from type 'const std::pair' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base >, long unsigned int, long unsigned int, std::less, std::allocator > >::T' {aka 'const std::pair'} to make the copy explicit or 'const std::pair&' to prevent copying /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h: In instantiation of 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]': /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; Ts = {long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:906:11: required from 'static void denc_traits, typename std::enable_if<(denc_supported && denc_supported), void>::type>::encode(const std::pair<_T1, _T2>&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with A = unsigned int; B = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:667:19: required from 'std::enable_if_t<(traits::supported && (! is_const_iterator_v))> denc(const T&, It&, uint64_t) [with T = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; It = ceph::buffer::v15_2_0::list::contiguous_appender; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! is_const_iterator_v))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1005:15: required from 'static void _denc::container_base::encode_nohead(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:981:22: required from 'static void _denc::container_base::encode(const container&, ceph::buffer::v15_2_0::list::contiguous_appender&, uint64_t) [with U = std::pair, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; C = std::map; Details = _denc::maplike_details, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >; Ts = {unsigned int, std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >, std::less, std::allocator, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > > >}; container = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1556:17: required from 'std::enable_if_t<(traits::supported && (! traits::featured))> ceph::encode(const T&, buffer::v15_2_0::list&, uint64_t) [with T = std::map, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >; traits = denc_traits, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, void>; std::enable_if_t<(traits::supported && (! traits::featured))> = void; uint64_t = long unsigned int]' /builddir/build/BUILD/dsms-storage-v1.0/src/messages/MMonGetPurgedSnapsReply.h:35:11: required from here /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: warning: loop variable 'e' of type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T&' {aka 'const std::pair, mempool::pool_allocator > > > >&'} binds to a temporary constructed from type 'const std::pair, mempool::pool_allocator > > > >' [-Wrange-loop-construct] /builddir/build/BUILD/dsms-storage-v1.0/src/include/denc.h:1001:21: note: use non-reference type 'const _denc::container_base, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > > >, long int, interval_set, mempool::pool_allocator > > >, std::less, mempool::pool_allocator, mempool::pool_allocator > > > > > >::T' {aka 'const std::pair, mempool::pool_allocator > > > >'} to make the copy explicit or 'const std::pair, mempool::pool_allocator > > > >&' to prevent copying make[2]: *** [src/msg/CMakeFiles/common-msg-objs.dir/build.make:90: src/msg/CMakeFiles/common-msg-objs.dir/Message.cc.o] Error 1 make[1]: *** [CMakeFiles/Makefile2:4282: src/msg/CMakeFiles/common-msg-objs.dir/all] Error 2 [ 12%] Built target mgr_cap_obj make: *** [Makefile:146: all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.w3jlJx (%build) RPM build warnings: RPM build errors: Macro expanded in comment on line 50: %{version}.tar.gz Bad exit status from /var/tmp/rpm-tmp.w3jlJx (%build) Child return code was: 1 EXCEPTION: [Error('Command failed: \n # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-storage.spec\n', 1)] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 598, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --noclean --target aarch64 --nodeps /builddir/build/SPECS/dsms-storage.spec